The [zero based] index of the currently selected item in the combos list. Note If the value of index is-1, then the ComboBox is set to have no selection.
[Visual Basic] Overridable Public Property SelectedIndex As Integer [C#] public int SelectedIndex {override get; override set;} [C++] public: __property virtual int get_SelectedIndex(); public: __property virtual void set_SelectedIndex(int); [JScript] public function get SelectedIndex() : int; public function set SelectedIndex(int);
ComboBox Class | ComboBox Members | System.WinForms Namespace