NavigationView.OpenPaneLength Properti

Definisi

Mendapatkan atau mengatur lebar panel NavigationView saat sepenuhnya diperluas.

Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

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

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

void OpenPaneLength(double value);
public double OpenPaneLength { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="320.0")]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToGreaterThanZero")]
public double OpenPaneLength { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="320.0")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToGreaterThanZero")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="320.0")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallback(value="CoerceToGreaterThanZero")] set; }
Public Property OpenPaneLength As Double

Nilai Properti

Double

double

Lebar panel NavigationView saat sepenuhnya diperluas. Defaultnya adalah 320 piksel independen perangkat (DIP).

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyValidationCallbackAttribute

Berlaku untuk