共用方式為


ScrollView.VerticalScrollBarVisibility 屬性

定義

取得或設定值,這個值表示是否應該顯示垂直滾動方向的滾動控制器。

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

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

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

屬性值

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

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於