Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.26 KB

scrollviewer_viewchanged.md

File metadata and controls

33 lines (21 loc) · 1.26 KB
-api-id -api-type
E:Windows.UI.Xaml.Controls.ScrollViewer.ViewChanged
winrt event

Windows.UI.Xaml.Controls.ScrollViewer.ViewChanged

-description

Occurs when manipulations such as scrolling and zooming have caused the view to change.

-xaml-syntax

<ScrollViewer ViewChanged="eventhandler"/>

-remarks

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.

-examples

-see-also

ScrollViewerViewChangedEventArgs, ViewChanging