Edit

Share via


ScrollViewer.GetHorizontalScrollBarVisibility(DependencyObject) Method

Definition

Gets the value of the HorizontalScrollBarVisibility dependency property from a given element.

public:
 static System::Windows::Controls::ScrollBarVisibility GetHorizontalScrollBarVisibility(System::Windows::DependencyObject ^ element);
public static System.Windows.Controls.ScrollBarVisibility GetHorizontalScrollBarVisibility (System.Windows.DependencyObject element);
static member GetHorizontalScrollBarVisibility : System.Windows.DependencyObject -> System.Windows.Controls.ScrollBarVisibility
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 HorizontalScrollBarVisibility dependency property.

Applies to