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

# TListColumn.ImageIndex

Ordinal position for the image displayed for the column.

## Declaration

Source position: comctrls.pp line 1250

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

## Description

ImageIndex is a TImageIndex property with the ordinal position for the image displayed for the column. It refers to a position in the SmallImages or LargeImages for the list view control. The default value for the property is -1, and indicates that an explicit value has not been assigned for the property or that images are not available.

Changing the property values causes the Changed method to be called to update the list column in its Collection. The widgetset class for the list view control is notified of the new property value when its handle has been allocated.

## See also

TCustomListView.ViewStyle |  | Sets one of ListView layouts: List (simple column), Report (few columns with full width), Icon (big icons), Small Icon (small icons, 16x16).
TCustomListView.SmallImages |  | Image list which contains "small" icons used for view styles.
TCustomListView.LargeImages |  | Image list which contains "big" icons displayed for view styles on the control.
TCustomListView.ShowColumnHeaders |  | Show header area in ListView, which shows captions of columns.
TCustomListView.Columns |  | Collection with the column definitions for the list view control (size, alignment, image index, etc.).
TCollectionItem