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

适用于