Share via


ScrollViewer.SetIsVerticalRailEnabled(DependencyObject, Boolean) Method

Definition

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

public:
 static void SetIsVerticalRailEnabled(DependencyObject ^ element, bool isVerticalRailEnabled);
 static void SetIsVerticalRailEnabled(DependencyObject const& element, bool const& isVerticalRailEnabled);
public static void SetIsVerticalRailEnabled(DependencyObject element, bool isVerticalRailEnabled);
function setIsVerticalRailEnabled(element, isVerticalRailEnabled)
Public Shared Sub SetIsVerticalRailEnabled (element As DependencyObject, isVerticalRailEnabled As Boolean)

Parameters

element
DependencyObject

The element on which to set the property value.

isVerticalRailEnabled
Boolean

bool

The value to set.

Remarks

For more info, see the IsVerticalRailEnabled property.

Applies to

See also