Back to Devexpress

TcxCustomBarEditItem.ItemIndex Property

vcl-cxbaredititem-dot-tcxcustombaredititem-dd30fc22.md

latest3.2 KB
Original Source

TcxCustomBarEditItem.ItemIndex Property

Specifies the selected item in a supported combo box editor when it is embedded in the toolbar editor item.

Declaration

delphi
property ItemIndex: Integer read; write;

Property Value

TypeDescription
Integer

The index of the selected item in an associated combo box editor.

|

Remarks

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] ValueEmbedded Combo Box EditorDescription
TcxComboBoxPropertiesTcxComboBoxA general-purpose combo box editor.
TcxCheckComboBoxPropertiesTcxCheckComboBoxA combo box editor that can display items with check boxes.
TcxColorComboBoxPropertiesTcxColorComboBoxA combo box editor designed to select colors.
TcxFontNameComboBoxPropertiesTcxFontNameComboBoxA combo box editor designed to select font typefaces.
TcxImageComboBoxPropertiesTcxImageComboBoxA combo box editor whose items can display text and images.
TcxMRUEditPropertiesTcxMRUEditA single-line text editor that displays a list of most recently used (MRU) items in a drop-down window.

Limitations

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

  1. The PropertiesClass property value when the corresponding supported TcxCustomComboBox class descendant is embedded into the toolbar editor item.

See Also

TcxCustomBarEditItem.Properties Property

TcxCustomBarEditItem.PropertiesClass Property

TcxCustomBarEditItem.PropertiesClassName Property

TcxCustomBarEditItem Class

TcxCustomBarEditItem Members

cxBarEditItem Unit