Share via


NavigationViewSelectionChangedEventArgs.SelectedItemContainer Property

Definition

Gets the container for the selected item.

public:
 property NavigationViewItemBase ^ SelectedItemContainer { NavigationViewItemBase ^ get(); };
NavigationViewItemBase SelectedItemContainer();
public NavigationViewItemBase SelectedItemContainer { get; }
var navigationViewItemBase = navigationViewSelectionChangedEventArgs.selectedItemContainer;
Public ReadOnly Property SelectedItemContainer As NavigationViewItemBase

Property Value

The container for the selected item.

Remarks

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

Applies to