Back to Devexpress

TcxCustomComboBox.ItemIndex Property

vcl-cxdropdownedit-dot-tcxcustomcombobox.md

latest925 B
Original Source

TcxCustomComboBox.ItemIndex Property

Specifies the selected combo box item.

Declaration

delphi
property ItemIndex;

Property Value

TypeDescription
Integer

The index of the selected combo box item.

-1 indicates that no item is selected or the combo box has no items.

|

Remarks

Use the ItemIndex property to switch between combo box items in code, even if the drop-down window is hidden.

Default Value

The ItemIndex property’s default value is -1.

The default ItemIndex property value indicates that no combo box item is selected.

See Also

TcxCustomComboBox Class

TcxCustomComboBox Members

cxDropDownEdit Unit