共用方式為


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

要從中讀取屬性值的項目。

傳回

VerticalScrollBarVisibility 相依性屬性的值。

適用於