Gets or sets the index of the currently selected item in the drop-down list. A zero-based index of the currently selected item. A value of negative one (-1) is returned if no item is selected. When SelectionMode is Single then only one item remains selected.
Syntax
'Declaration
Public Property SelectedIndex As Integer
public int SelectedIndex {get; set;}
See Also