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

适用于