Skip to main content

TcxHeaderSection.ImageIndex Property

Specifies the index of the image associated with the section.

Declaration

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

Property Value

Type
TcxImageIndex

Remarks

The ImageIndex property enables you to display an image in the header section. The TCustomImageList object, providing the images for the sections is identified by the cxHeader.Images property. The default property value (-1) specifies that a section does not display an image.

The following screenshot shows a header control with an image displayed in its first section:

The default value of the ImageIndex property is -1.

See Also