Developing Mobile Apps — Question 14

You are developing a Universal Windows Platform (UWP) app.
You need to provide a solution that moves the scroll bars of the ScrollViewer when a user rotates the mouse wheel.
Which two actions should you perform? Each correct answer presents part of the solution.

Answer options

Correct answer:

Explanation

The correct actions are A and E. Option A evaluates the mouse wheel delta and correctly calls ChangeView() to adjust the ScrollViewer. Option E sets up the necessary event handler to respond to the mouse wheel changes. Options B, C, and D do not provide the required solution for handling mouse wheel events in relation to the ScrollViewer.