共用方式為


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 相依性屬性的值。

適用於