ScrollViewer.GetVerticalScrollBarVisibility(DependencyObject) 方法

定义

从指定元素获取 VerticalScrollBarVisibility 依赖属性/ ScrollViewer.VerticalScrollBarVisibility XAML 附加属性的值。

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

参数

element
DependencyObject

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

返回

属性的值,从属性存储中获取。

注解

有关详细信息,请参阅 VerticalScrollBarVisibility 属性。

适用于

另请参阅