_OlkListBox.ListIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets an Integer (int in C#) value that indicates the location of the currently selected element in the list of the combo box control. Read/write.
public:
property int ListIndex { int get(); void set(int value); };
public int ListIndex { get; set; }
Public Property ListIndex As Integer
Property Value
Remarks
ListIndex is a zero-based value indexing into the array of items in the list. The default value is -1, indicating that no item is selected.