NavigationViewItemInvokedEventArgs.InvokedItem Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.