Dela via


NavigationViewItemInvokedEventArgs.IsSettingsInvoked Property

Definition

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

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

public:
 property bool IsSettingsInvoked { bool get(); };
bool IsSettingsInvoked();
public bool IsSettingsInvoked { get; }
var boolean = navigationViewItemInvokedEventArgs.isSettingsInvoked;
Public ReadOnly Property IsSettingsInvoked As Boolean

Property Value

Boolean

bool

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

Applies to