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

TcxPivotGridField.ImageIndex Property

Specifies the index of an image associated with the field.

#Declaration

Delphi
property ImageIndex: TcxImageIndex read; write; default -1;

#Property Value

Type
TcxImageIndex

#Remarks

Use the ImageIndex property to associate an image from the FieldHeaderImages zero-based indexed collection with the current field. The image will be displayed within the field’s header using the alignment options as specified by the ImageAlign property.

The ImageIndex property’s value of -1 specifies that an image is not associated with the field.

Note

To associate a field’s grouping item (the grouping column or grouping row that corresponds to a particular grouping value) with an image, assign an image list to the pivot grid’s GroupHeaderImages property and handle the OnGetGroupImageIndex event.

The default value of the ImageIndex property is -1.

See Also