vcl-cxbaredititem-dot-tcxcustombaredititem-dd30fc22.md
Specifies the selected item in a supported combo box editor when it is embedded in the toolbar editor item.
property ItemIndex: Integer read; write;
| Type | Description |
|---|---|
| Integer |
The index of the selected item in an associated combo box editor.
|
Use the ItemIndex property to switch between combo box items when one of the following combo box editors is embedded in the toolbar editor item:
| PropertiesClass[1] Value | Embedded Combo Box Editor | Description |
|---|---|---|
| TcxComboBoxProperties | TcxComboBox | A general-purpose combo box editor. |
| TcxCheckComboBoxProperties | TcxCheckComboBox | A combo box editor that can display items with check boxes. |
| TcxColorComboBoxProperties | TcxColorComboBox | A combo box editor designed to select colors. |
| TcxFontNameComboBoxProperties | TcxFontNameComboBox | A combo box editor designed to select font typefaces. |
| TcxImageComboBoxProperties | TcxImageComboBox | A combo box editor whose items can display text and images. |
| TcxMRUEditProperties | TcxMRUEdit | A single-line text editor that displays a list of most recently used (MRU) items in a drop-down window. |
The ItemIndex property is mapped to the ItemIndex property of the currently embedded and supported TcxCustomComboBox descendant. Therefore, the ItemIndex property value has no effect on all editor classes that are not derived from the TcxCustomComboBox class.
Footnotes
See Also
TcxCustomBarEditItem.Properties Property
TcxCustomBarEditItem.PropertiesClass Property