共用方式為


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 屬性。

適用於

另請參閱