Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxFilterValueItem.ImageIndex Property

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

#Declaration

Delphi
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