ScrollViewer.SetIsHorizontalRailEnabled(DependencyObject, Boolean) Method

Definition

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

public:
 static void SetIsHorizontalRailEnabled(DependencyObject ^ element, bool isHorizontalRailEnabled);
 static void SetIsHorizontalRailEnabled(DependencyObject const & element, bool isHorizontalRailEnabled);
public static void SetIsHorizontalRailEnabled(DependencyObject element, bool isHorizontalRailEnabled);
Public Shared Sub SetIsHorizontalRailEnabled (element As DependencyObject, isHorizontalRailEnabled As Boolean)

Parameters

element
DependencyObject

The element on which to set the property value.

isHorizontalRailEnabled
Boolean

The value to set.

Remarks

For more info, see the IsHorizontalRailEnabled property.

Applies to

See also