CustomComboBoxSelectedIndex Property
Gets or sets the index specifying the currently selected item.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
public int SelectedIndex { get; set; }
Int32Int32
A zero-based index of the currently selected item. A value of negative one (-1) is returned if no item is selected.
ArgumentOutOfRangeException |
The specified index is less than or equal to -2.
-or-
The specified index is greater than or equal to the number of items in the combo box.
|