NavigationView.IsPaneToggleButtonVisible Propriété

Définition

Obtient ou définit une valeur qui indique si le bouton bascule de menu s’affiche.

public:
 property bool IsPaneToggleButtonVisible { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
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 { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] 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; }
var boolean = navigationView.isPaneToggleButtonVisible;
navigationView.isPaneToggleButtonVisible = boolean;
Public Property IsPaneToggleButtonVisible As Boolean
<NavigationView IsPaneToggleButtonVisible="bool" .../>

Valeur de propriété

Boolean

bool

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

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

S’applique à