NavigationView.ExpandedModeThresholdWidth Eigenschaft

Definition

Dient zum Abrufen oder Festlegen der Mindestfensterbreite, bei der die NavigationView den erweiterten Anzeigemodus eingibt.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die Windows App SDK Namespaces).

public:
 property double ExpandedModeThresholdWidth { double get(); void set(double value); };
double ExpandedModeThresholdWidth();

void ExpandedModeThresholdWidth(double value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1008.0")]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToGreaterThanZero")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1008.0")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToGreaterThanZero")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1008.0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToGreaterThanZero")]
double ExpandedModeThresholdWidth();

void ExpandedModeThresholdWidth(double value);
public double ExpandedModeThresholdWidth { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1008.0")]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToGreaterThanZero")]
public double ExpandedModeThresholdWidth { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1008.0")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToGreaterThanZero")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1008.0")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToGreaterThanZero")] set; }
Public Property ExpandedModeThresholdWidth As Double
<NavigationView ExpandedModeThresholdWidth="double" .../>

Eigenschaftswert

Double

double

Die mindeste Fensterbreite, bei der die NavigationView den erweiterten Anzeigemodus eingibt. Der Standardwert ist 1008 Pixel.

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

Gilt für: