Share via


ScrollView.VerticalScrollMode Property

Definition

Gets or sets a value that determines how manipulation input influences scrolling behavior on the horizontal axis.

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

void VerticalScrollMode(ScrollingScrollMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultVerticalScrollMode")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultVerticalScrollMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultVerticalScrollMode")]
ScrollingScrollMode VerticalScrollMode();

void VerticalScrollMode(ScrollingScrollMode value);
public ScrollingScrollMode VerticalScrollMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultVerticalScrollMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultVerticalScrollMode")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultVerticalScrollMode")]
public ScrollingScrollMode VerticalScrollMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultVerticalScrollMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultVerticalScrollMode")] set; }
var scrollingScrollMode = scrollView.verticalScrollMode;
scrollView.verticalScrollMode = scrollingScrollMode;
Public Property VerticalScrollMode As ScrollingScrollMode

Property Value

A value of the enumeration. The default is Auto.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to