NavigationView.IsPaneToggleButtonVisible Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob die Umschaltfläche des Menüs angezeigt wird.

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

public:
 property bool IsPaneToggleButtonVisible { bool get(); void set(bool value); };
bool IsPaneToggleButtonVisible();

void IsPaneToggleButtonVisible(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 IsPaneToggleButtonVisible();

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

Eigenschaftswert

Boolean

bool

true , wenn die Menüschaltfläche angezeigt wird; andernfalls "false". Der Standardwert ist true.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: