Property SelectedIndex
SelectedIndex
Gets or sets the zero-based index of the currently selected item in the control.
int? SelectedIndex { get; set; }
Property Value
- int?
A zero-based index of the currently selected item. A value of
null
is returned if no item is selected.