Share via


NavigationView.IsSettingsVisible Propriété

Définition

Obtient ou définit une valeur qui indique si le bouton paramètres 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 IsSettingsVisible { bool get(); void set(bool value); };
bool IsSettingsVisible();

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

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

Valeur de propriété

Boolean

bool

true si le bouton paramètres est affiché ; sinon, false. La valeur par défaut est true.

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

S’applique à