Freigeben über


ScrollView.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="ScrollView::s_defaultMaxZoomFactor")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultMaxZoomFactor")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
double MaxZoomFactor();

void MaxZoomFactor(double value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultMaxZoomFactor")]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultMaxZoomFactor")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::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="ScrollView::s_defaultMaxZoomFactor")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultMaxZoomFactor")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultMaxZoomFactor")]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")]
public double MaxZoomFactor { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultMaxZoomFactor")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultMaxZoomFactor")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="ValidateZoomFactoryBoundary")] set; }
var double = scrollView.maxZoomFactor;
scrollView.maxZoomFactor = double;
Public Property MaxZoomFactor As Double

Eigenschaftswert

Double

double

Der Maximalwert 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: