Freigeben über


ListView.SelectedItem Property

Definition

Gets or sets the currently selected item from the ItemsSource.

public object SelectedItem { get; set; }
member this.SelectedItem : obj with get, set

Property Value

System.Object

The selected item or null if no item is selected.

Applies to