Dela via


NavigationViewItemInvokedEventArgs.InvokedItem Property

Definition

Gets a reference to the invoked item.

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

public:
 property Platform::Object ^ InvokedItem { Platform::Object ^ get(); };
IInspectable InvokedItem();
public object InvokedItem { get; }
var object = navigationViewItemInvokedEventArgs.invokedItem;
Public ReadOnly Property InvokedItem As Object

Property Value

Object

Platform::Object

IInspectable

The invoked item.

Remarks

This property gets the data item that was invoked. To get the NavigationViewItem that is the container for the invoked item, use the InvokedItemContainer property.

Applies to