ScrollViewer.GetIsHorizontalRailEnabled(DependencyObject) Method

Definition

Gets the value of the IsHorizontalRailEnabled dependency property / ScrollViewer.IsHorizontalRailEnabled XAML attached property from a specified element.

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

public:
 static bool GetIsHorizontalRailEnabled(DependencyObject ^ element);
 static bool GetIsHorizontalRailEnabled(DependencyObject const & element);
public static bool GetIsHorizontalRailEnabled(DependencyObject element);
function getIsHorizontalRailEnabled(element)
Public Shared Function GetIsHorizontalRailEnabled (element As DependencyObject) As Boolean

Parameters

element
DependencyObject

The element from which the property value is read.

Returns

Boolean

The value of the property, as obtained from the property store.

Remarks

For more info, see the IsHorizontalRailEnabled property.

Applies to

See also