Skip to main content
A newer version of this page is available. .

TcxCustomImageComboBoxProperties.DefaultImageIndex Property

Specifies the index of the default image displayed within the image combo box.

Declaration

property DefaultImageIndex: TcxImageIndex read; write; default -1;

Property Value

Type
TcxImageIndex

Remarks

Use this property to specify the index of the default image displayed within the image combo box. It is used when the edit value has no corresponding image within its associated list of images. This situation may occur when the image combo box’s EditValue is specified via code and is not represented by any item in the dropdown of the image combo box.

To avoid this situation, ensure that the image combo box’s edit value is equal to the value of the Value property of one of the items within the image combo box.

The default value of the DefaultImageIndex property is -1.

See Also