مشاركة عبر


NavigationView.IsSettingsVisible Property

Definition

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

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationView.IsSettingsVisible (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);
public bool IsSettingsVisible { get; set; }
var boolean = navigationView.isSettingsVisible;
navigationView.isSettingsVisible = boolean;
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.

Applies to