Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScrollViewer.OnScrollChanged Method (ScrollChangedEventArgs)

 

Called when a change in scrolling state is detected, such as a change in scroll position, extent, or viewport size.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected virtual void OnScrollChanged(
	ScrollChangedEventArgs e
)

Parameters

e
Type: System.Windows.Controls.ScrollChangedEventArgs

The ScrollChangedEventArgs that contain information about the change in the scrolling state.

If you override this method, call base.OnScrollChanged(ScrollChangedEventArgs) to ensure that this event is raised.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft