Skip to main content

TcxFilterValueItem.ImageIndex Property

Specifies the index of an image in the image list associated with filter items.

Declaration

property ImageIndex: Integer read; write;

Property Value

Type Description
Integer

The index of the image associated with the filter item. If the property is set to -1, the filter item displays no image.

Remarks

A filter pop-up window automatically displays images for filter items if the corresponding grid item uses a TcxImageComboBox instance as an in-place editor.

A Filter Pop-Up Window Example

You can use the ImageIndex property to associate the filter item with an image obtained from the in-place editor’s image list or the image list assigned to the AImages parameter within a handler of one of the following events:

TcxCustomGridTableItem.OnGetFilterImages
Allows you to replace images displayed in the grid table item’s filter pop-up window.
TcxCustomEditorRowProperties.OnGetFilterImages
Allows you to replace images displayed in an edit row’s filter pop-up window.
TcxCustomInplaceEditContainer.OnGetFilterImages
Allows you to replace images displayed in a grid item’s filter pop-up window.

The ImageIndex property’s default value is -1.

See Also