ScrollViewer.OnScrollChanged(ScrollChangedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when a change in scrolling state is detected, such as a change in scroll position, extent, or viewport size.
protected:
virtual void OnScrollChanged(System::Windows::Controls::ScrollChangedEventArgs ^ e);
protected virtual void OnScrollChanged (System.Windows.Controls.ScrollChangedEventArgs e);
abstract member OnScrollChanged : System.Windows.Controls.ScrollChangedEventArgs -> unit
override this.OnScrollChanged : System.Windows.Controls.ScrollChangedEventArgs -> unit
Protected Overridable Sub OnScrollChanged (e As ScrollChangedEventArgs)
Parameters
The ScrollChangedEventArgs that contain information about the change in the scrolling state.
Remarks
If you override this method, call base.OnScrollChanged(ScrollChangedEventArgs)
to ensure that this event is raised.