Share via


NavigationView.IsPaneToggleButtonVisible Propriété

Définition

Obtient ou définit une valeur qui indique si le bouton bascule du menu est affiché.

Cette documentation s’applique à WinUI 2 pour UWP (pour WinUI dans le SDK d'application Windows, consultez les espaces de noms SDK d'application Windows).

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" .../>

Valeur de propriété

Boolean

bool

true si le bouton de menu est affiché ; sinon, false. La valeur par défaut est true.

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

S’applique à