Expand Minimize

ScrollViewer.ViewChanging event

Applies to Windows and Windows Phone

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

Syntax


public event EventHandler<ScrollViewerViewChangingEventArgs> ViewChanging


<ScrollViewer ViewChanging="eventhandler"/>

Event information

DelegateSystem.EventHandler<ScrollViewerViewChangingEventArgs> [.NET] | Windows.Foundation.EventHandler<ScrollViewerViewChangingEventArgs> [C++]

Remarks

ScrollViewerViewChangingEventArgs includes the IsInertial property, which reports whether the manipulation that is firing the event contains an inertial component.

Not every underlying manipulation will necessarily fire this event. The ScrollViewer logic delays and consolidates intermediate events into a single occurrence in some cases.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

ScrollViewer
ScrollViewerViewChangingEventArgs

 

 

Show:
© 2014 Microsoft