Udostępnij za pośrednictwem


ScrollPresenter.ZoomChainMode Property

Definition

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

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

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

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

Property Value

A value of the enumeration. The default is Auto.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to