Share via


ScrollPresenter.MaxZoomFactor Property

Definition

Gets or sets the maximum value for the read-only ZoomFactor property.

public:
 property double MaxZoomFactor { double get(); void set(double value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
double MaxZoomFactor();

void MaxZoomFactor(double value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
double MaxZoomFactor();

void MaxZoomFactor(double value);
public double MaxZoomFactor { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
public double MaxZoomFactor { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultMaxZoomFactor")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")] set; }
var double = scrollPresenter.maxZoomFactor;
scrollPresenter.maxZoomFactor = double;
Public Property MaxZoomFactor As Double

Property Value

Double

double

The maximum value for the read-only ZoomFactor property. The default is 10.0.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallbackAttribute

Applies to