Skip to main content

SetIsScrollChainingEnabled Method

Sets the value of the IsScrollChainingEnabled attached property.

Definition​

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

public static void SetIsScrollChainingEnabled(
Control control,
bool value
)

Parameters​

  Control
The control to set the value on.
  Boolean
The value of the property.

Remarks​

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.

See Also​

Reference​

ScrollViewer Class
Avalonia.Controls Namespace