NavigationViewItemInvokedEventArgs.InvokedItemContainer 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 the container for the invoked item.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewItemInvokedEventArgs.InvokedItemContainer (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public:
property NavigationViewItemBase ^ InvokedItemContainer { NavigationViewItemBase ^ get(); };
NavigationViewItemBase InvokedItemContainer();
public NavigationViewItemBase InvokedItemContainer { get; }
var navigationViewItemBase = navigationViewItemInvokedEventArgs.invokedItemContainer;
Public ReadOnly Property InvokedItemContainer As NavigationViewItemBase
Property Value
The container for the invoked item.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Remarks
This property gets the NavigationViewItem that is the container for the invoked item. To get the data item that was invoked, use the InvokedItem property.