NavigationView.IsPaneOpen Eigenschaft

Definition

Ruft einen Wert ab oder legt einen Wert fest, der angibt, ob der NavigationView-Bereich auf seine vollständige Breite erweitert wird.

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 bool IsPaneOpen { bool get(); void set(bool value); };
bool IsPaneOpen();

void IsPaneOpen(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsPaneOpen();

void IsPaneOpen(bool value);
public bool IsPaneOpen { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool IsPaneOpen { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
Public Property IsPaneOpen As Boolean
<NavigationView IsPaneOpen="bool" .../>

Eigenschaftswert

Boolean

bool

true , wenn der Bereich auf seine vollständige Breite erweitert wird; andernfalls false.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: