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. process. https://docs.microsoft.com/en-us/uwp/api/
A.
Evaluate the CurrentPoint.Properties.MouseWheelDelta property of the PointerEvenArgs object. Call the
ChangeView() method of the ScrollViewer.
B.
Update the XAML of the ScrollViewer to include the PointerWheelChanged event with a new event handler.
Evaluate the Pointer.IsInRange property of the PointerRoutedEventArgs object within the event handler. Call
the ChangeView() method of the ScrollViewer.
C.
Add an event handler to the PointerRoutedAway event for the current window.
D.
Evaluate the CurrentPoint.Properties.IsHorizontalMouseWheel property of the PointerEventArgs object. Call
the ChangeView() method of the ScrollViewer.
E.
Add an event handler to the PointerWheelChanged event for the current window.
Explanation:
The PointerRoutedAway event occurs on the process receiving input when the pointer input is routed to anotherhttps://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.scrollviewer
windows.ui.core.corewindow#Windows_UI_Core_CoreWindow_PointerWheelChanged