Share via


ItemsView.SelectedItem Property

Definition

Gets the currently selected item.

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

Property Value

Object

Platform::Object

IInspectable

The first item in the ItemsView.SelectedItems list; or null if no item is selected.

Applies to