Udostępnij za pośrednictwem


ScrollView.VerticalScrollBarVisibility Property

Definition

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

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

Property Value

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

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to