Udostępnij za pośrednictwem


ScrollPresenter.ZoomMode Property

Definition

Gets or sets a value that indicates the ability to zoom in and out by means of user input.

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

void ZoomMode(ScrollingZoomMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultZoomMode")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultZoomMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultZoomMode")]
ScrollingZoomMode ZoomMode();

void ZoomMode(ScrollingZoomMode value);
public ScrollingZoomMode ZoomMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultZoomMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultZoomMode")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultZoomMode")]
public ScrollingZoomMode ZoomMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultZoomMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultZoomMode")] set; }
var scrollingZoomMode = scrollPresenter.zoomMode;
scrollPresenter.zoomMode = scrollingZoomMode;
Public Property ZoomMode As ScrollingZoomMode

Property Value

A value that indicates the ability to zoom in and out by means of user input. The default is Disabled.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to