Windows Dev Center

Expand Minimize

ScrollViewer.ViewChanging event

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 (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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:
© 2015 Microsoft