ScrollViewerSetIsScrollChainingEnabled Method
Sets the value of the IsScrollChainingEnabled attached property.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static void SetIsScrollChainingEnabled(
Control control,
bool value
)
Public Shared Sub SetIsScrollChainingEnabled (
control As Control,
value As Boolean
)
static member SetIsScrollChainingEnabled :
control : Control *
value : bool -> unit
Parameters
- control Control
- The control to set the value on.
- value Boolean
- The value of the property.
After a user hits a scroll limit on an element that has been nested within another scrollable element,
you can specify whether that parent element should continue the scrolling operation begun in its child element.
This is called scroll chaining.