Share via


ScrollPresenter.VerticalScrollMode Property

Definition

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

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

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

void VerticalScrollMode(ScrollingScrollMode value);
public ScrollingScrollMode VerticalScrollMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollMode")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollMode")]
public ScrollingScrollMode VerticalScrollMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollMode")] set; }
var scrollingScrollMode = scrollPresenter.verticalScrollMode;
scrollPresenter.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