共用方式為


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

取得建議用於導覽方向的瀏覽轉換。

適用於

另請參閱