-api-id | -api-type |
---|---|
E:Windows.UI.Xaml.Controls.ScrollViewer.ViewChanged |
winrt event |
Occurs when manipulations such as scrolling and zooming have caused the view to change.
<ScrollViewer ViewChanged="eventhandler"/>
ViewChanging fires before ViewChanged.
In your event handler, use a parameter of type ScrollViewerViewChangedEventArgs for the second parameter of your handler method. ScrollViewerViewChangedEventArgs includes the IsIntermediate property, which reports whether the manipulation that fired the event is completed or still ongoing.
Not every underlying manipulation will necessarily fire this event. The class logic delays and consolidates intermediate events into a single occurrence in some cases.