ScrollViewer.GetHorizontalScrollBarVisibility(DependencyObject) 方法

定义

获取给定元素的 HorizontalScrollBarVisibility 依赖属性值。

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

参数

element
DependencyObject

要从中读取属性值的元素。

返回

ScrollBarVisibility

HorizontalScrollBarVisibility 依赖属性的值。

适用于