Viewer. On Scroll Changed(ScrollChangedEventArgs) Method
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)
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.