Share via


NavigationView.IsSettingsVisible Property

Definition

Gets or sets a value that indicates whether the settings button is shown.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

Property Value

Boolean

bool

true if the settings button is shown; otherwise, false. The default is true.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to