Udostępnij za pośrednictwem


NavigationViewSelectionChangedEventArgs.IsSettingsSelected Property

Definition

Gets a value that indicates whether the SelectedItem is the menu item for Settings.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewSelectionChangedEventArgs.IsSettingsSelected (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property bool IsSettingsSelected { bool get(); };
bool IsSettingsSelected();
public bool IsSettingsSelected { get; }
var boolean = navigationViewSelectionChangedEventArgs.isSettingsSelected;
Public ReadOnly Property IsSettingsSelected As Boolean

Property Value

Boolean

bool

true if the SelectedItem is the menu item for Settings; otherwise, false.

Applies to