selectedItem Property

selectedItem

The index of the selected item when supportItemSelection is true. Returns -1 when no item is selected.

Declaration
public int selectedItem { get; set; }
Property Value
Int32