ScrollViewer.GetHorizontalScrollBarVisibility(DependencyObject) Method

Definition

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

public:
 static ScrollBarVisibility GetHorizontalScrollBarVisibility(DependencyObject ^ element);
 static ScrollBarVisibility GetHorizontalScrollBarVisibility(DependencyObject const& element);
public static ScrollBarVisibility GetHorizontalScrollBarVisibility(DependencyObject element);
function getHorizontalScrollBarVisibility(element)
Public Shared Function GetHorizontalScrollBarVisibility (element As DependencyObject) As ScrollBarVisibility

Parameters

element
DependencyObject

The element from which the property value is read.

Returns

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

Remarks

For more info, see Remarks for the HorizontalScrollBarVisibility property.

Applies to

See also