ScrollViewer.GetVerticalScrollBarVisibility(DependencyObject) 方法

定义

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

public:
 static System::Windows::Controls::ScrollBarVisibility GetVerticalScrollBarVisibility(System::Windows::DependencyObject ^ element);
public static System.Windows.Controls.ScrollBarVisibility GetVerticalScrollBarVisibility (System.Windows.DependencyObject element);
static member GetVerticalScrollBarVisibility : System.Windows.DependencyObject -> System.Windows.Controls.ScrollBarVisibility
Public Shared Function GetVerticalScrollBarVisibility (element As DependencyObject) As ScrollBarVisibility

参数

element
DependencyObject

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

返回

ScrollBarVisibility

VerticalScrollBarVisibility 依赖属性的值。

适用于