Skip to main content

TcxPivotGridField.ImageIndex Property

Specifies the index of an image associated with the field.

Declaration

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