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

# TCustomListView.Column

Provides indexed access to the columns defined for the control.

## Declaration

Source position: comctrls.pp line 1665

`public property TCustomListView.Column[AIndex: Integer] : TListColumn read GetColumnFromIndex;`

## Description

Column is an indexed read-only TListColumn property which provides access to the information for a given column by its position. The column whose information is to be retrieved is determined by an index (AIndex). As with nearly all indexes, this index is 0-based.

Use the Columns property to add, change or delete a column definition.

Use the Items property to access the TListItem instances with the data displayed using the column definitions. The Caption in a given list item is the value display in Column[0]. Subsequent column values use the values in SubItems; i. e. Column[1] is SubItem[0], Column[2] is SubItem[1], ad infinitum.

## See also

TCustomListView.Columns |  | Collection with the column definitions for the list view control (size, alignment, image index, etc.).
TCustomListView.Items |  | Collection of list items displayed on the list view control.
TListColumns |  | A collection for TListColumn instances defined for a multi-column list view control.
TListColumn |  | Represents an individual column in a multi-column list control.
TListItems |  | Implements a container for list items on a list view control.
TListItem |  | Represents the items created in TCustomListView and descendants.