Udostępnij za pośrednictwem


ScrollView.HorizontalScrollBarVisibility Property

Definition

Gets or sets a value that indicates whether a scroll controller should be displayed for the horizontal scrolling direction.

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

Property Value

A value that indicates whether a scroll controller should be displayed for the horizontal scrolling direction. The default is Auto.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to