共用方式為


ScrollView.HorizontalScrollBarVisibility 屬性

定義

取得或設定值,這個值表示是否應該針對水平卷動方向顯示滾動控制器。

public:
 property ScrollingScrollBarVisibility HorizontalScrollBarVisibility { ScrollingScrollBarVisibility get(); void set(ScrollingScrollBarVisibility value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
ScrollingScrollBarVisibility HorizontalScrollBarVisibility();

void HorizontalScrollBarVisibility(ScrollingScrollBarVisibility value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
ScrollingScrollBarVisibility HorizontalScrollBarVisibility();

void HorizontalScrollBarVisibility(ScrollingScrollBarVisibility value);
public ScrollingScrollBarVisibility HorizontalScrollBarVisibility { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
public ScrollingScrollBarVisibility HorizontalScrollBarVisibility { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")] set; }
var scrollingScrollBarVisibility = scrollView.horizontalScrollBarVisibility;
scrollView.horizontalScrollBarVisibility = scrollingScrollBarVisibility;
Public Property HorizontalScrollBarVisibility As ScrollingScrollBarVisibility

屬性值

值,指出是否應該針對水平捲動方向顯示滾動控制器。 預設值為 Auto

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於