[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# THeaderSection.ImageIndex

Ordinal position for the image displayed for the header section.

## Declaration

Source position: comctrls.pp line 3992

`published property THeaderSection.ImageIndex : TImageIndex read FImageIndex write SetImageIndex default - 1;`

## Description

ImageIndex is a TImageIndex property with the ordinal position for an image displayed on the header section. The default value for the property is -1 and indicates that a value has not been assigned for the property. Changing the value for the property causes the Changed method to be called to update the item in its collection.

ImageIndex refers to the position in the Images property in an associated THeaderControl. It is used, along with Text and Alignment, in the PaintSection method in TCustomHeaderControl / THeaderControl. The values control the content rendered for the header section on the control canvas.

## See also

TCustomHeaderControl.Images |  | Contains bitmaps displayed on the header sections for the control.
TCustomHeaderControl.PaintSection |  | Paints the specified header section to the Canvas for the control.