Rediger

Del via


_OlkComboBox.ListIndex Property

Definition

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.

Applies to