Share via


NavigationViewItemInvokedEventArgs Class

Definition

Provides event data for the NavigationView.ItemInvoked event.

public ref class NavigationViewItemInvokedEventArgs sealed
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=5)]
/// [Windows.Foundation.Metadata.Activatable(1)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class NavigationViewItemInvokedEventArgs final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.XamlContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class NavigationViewItemInvokedEventArgs final
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=5)]
[Windows.Foundation.Metadata.Activatable(1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class NavigationViewItemInvokedEventArgs
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.XamlContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public sealed class NavigationViewItemInvokedEventArgs
Public NotInheritable Class NavigationViewItemInvokedEventArgs
Inheritance
Object Platform::Object IInspectable NavigationViewItemInvokedEventArgs
Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute ActivatableAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute ContractVersionAttribute

Constructors

NavigationViewItemInvokedEventArgs()

Initializes a new instance of the NavigationViewItemInvokedEventArgs class.

Properties

InvokedItem

Gets a reference to the invoked item.

InvokedItemContainer

Gets the container for the invoked item.

IsSettingsInvoked

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

RecommendedNavigationTransitionInfo

Gets the navigation transition recommended for the direction of the navigation.

Applies to

See also