Share via


ScrollView.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="ScrollView::s_defaultZoomMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultZoomMode")]
ScrollingZoomMode ZoomMode();

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

void ZoomMode(ScrollingZoomMode value);
public ScrollingZoomMode ZoomMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultZoomMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultZoomMode")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultZoomMode")]
public ScrollingZoomMode ZoomMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultZoomMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultZoomMode")] set; }
var scrollingZoomMode = scrollView.zoomMode;
scrollView.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