Skip to main content

OnScrollChanged Method

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

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

protected virtual void OnScrollChanged(
ScrollChangedEventArgs e
)

Parameters​

  ScrollChangedEventArgs
The event args.

Remarks​

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

See Also​

Reference​

ScrollViewer Class
Avalonia.Controls Namespace