Freigeben über


ScrollPresenter.MaxZoomFactor Eigenschaft

Definition

Ruft den Maximalwert für die schreibgeschützte ZoomFactor Eigenschaft ab oder legt diese fest.

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

Eigenschaftswert

Double

double

Der maximale Wert für die schreibgeschützte ZoomFactor Eigenschaft. Der Standardwert lautet 10.0.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallbackAttribute

Gilt für: