ScrollViewer.SetIsHorizontalScrollChainingEnabled(DependencyObject, Boolean) Method

Definition

Sets the value of the IsHorizontalScrollChainingEnabled dependency property / ScrollViewer.IsHorizontalScrollChainingEnabled XAML attached property on a specified element.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.ScrollViewer.SetIsHorizontalScrollChainingEnabled.

public:
 static void SetIsHorizontalScrollChainingEnabled(DependencyObject ^ element, bool isHorizontalScrollChainingEnabled);
 static void SetIsHorizontalScrollChainingEnabled(DependencyObject const & element, bool isHorizontalScrollChainingEnabled);
public static void SetIsHorizontalScrollChainingEnabled(DependencyObject element, bool isHorizontalScrollChainingEnabled);
function setIsHorizontalScrollChainingEnabled(element, isHorizontalScrollChainingEnabled)
Public Shared Sub SetIsHorizontalScrollChainingEnabled (element As DependencyObject, isHorizontalScrollChainingEnabled As Boolean)

Parameters

element
DependencyObject

The element on which to set the property value.

isHorizontalScrollChainingEnabled
Boolean

The value to set.

Remarks

For more info, see the IsHorizontalScrollChainingEnabled property.

Applies to

See also