ScrollViewer.

OnScrollChanged(ScrollChangedEventArgs) Method

Summary

Called when a change in scrolling state is detected, such as a change in scroll position, extent, or viewport size.
Namespace
Avalonia.Controls
Containing Type
ScrollViewer

Syntax

protected virtual void OnScrollChanged(ScrollChangedEventArgs e)

Remarks

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

Parameters

Name Type Description
e ScrollChangedEventArgs The event args.

Return Value

Type Description
void