NavigationViewItemInvokedEventArgs 类

定义

提供 NavigationView.ItemInvoked 事件的事件数据。

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
继承
Object Platform::Object IInspectable NavigationViewItemInvokedEventArgs
属性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute ActivatableAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute ContractVersionAttribute

构造函数

NavigationViewItemInvokedEventArgs()

初始化 NavigationViewItemInvokedEventArgs 类的新实例。

属性

InvokedItem

获取对调用项的引用。

InvokedItemContainer

获取被调用项的容器。

IsSettingsInvoked

获取一个值,该值指示 InvokedItem 是否为“设置”的菜单项。

RecommendedNavigationTransitionInfo

获取建议用于导航方向的导航切换。

适用于

另请参阅