Share via


NavigationViewSelectionChangedEventArgs.SelectedItem Property

Definition

Gets the newly selected menu item.

public:
 property Platform::Object ^ SelectedItem { Platform::Object ^ get(); };
IInspectable SelectedItem();
public object SelectedItem { get; }
var object = navigationViewSelectionChangedEventArgs.selectedItem;
Public ReadOnly Property SelectedItem As Object

Property Value

Object

Platform::Object

IInspectable

The newly selected menu item.

Remarks

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

Applies to