Property SelectedIndex
SelectedIndex
Gets or sets the index specifying the currently selected item.
public override 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.
Remarks
This property indicates the zero-based index of the currently selected item in the combo box list. Setting a new index raises the SelectedItemChanged event.