Udostępnij za pośrednictwem


ScrollPresenter.HorizontalScrollChainMode Property

Definition

Gets or sets a value that indicates whether or not to chain horizontal scrolling to an outer scroll control.

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

void HorizontalScrollChainMode(ScrollingChainMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollChainMode")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollChainMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollChainMode")]
ScrollingChainMode HorizontalScrollChainMode();

void HorizontalScrollChainMode(ScrollingChainMode value);
public ScrollingChainMode HorizontalScrollChainMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollChainMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollChainMode")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollChainMode")]
public ScrollingChainMode HorizontalScrollChainMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollChainMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollChainMode")] set; }
var scrollingChainMode = scrollPresenter.horizontalScrollChainMode;
scrollPresenter.horizontalScrollChainMode = scrollingChainMode;
Public Property HorizontalScrollChainMode As ScrollingChainMode

Property Value

A value of the enumeration. The default is Auto.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to