Share via


ScrollView.HorizontalScrollMode Property

Definition

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

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

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

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

Property Value

A value of the enumeration. The default is Auto.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to