Udostępnij za pośrednictwem


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 const& isHorizontalRailEnabled);
public static void SetIsHorizontalRailEnabled(DependencyObject element, bool isHorizontalRailEnabled);
function setIsHorizontalRailEnabled(element, 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

bool

The value to set.

Remarks

For more info, see the IsHorizontalRailEnabled property.

Applies to

See also