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

# TCustomListView.ShowColumnHeaders

Show header area in ListView, which shows captions of columns.

## Declaration

Source position: comctrls.pp line 1590

`protected property TCustomListView.ShowColumnHeaders : Boolean index Ord(lvpShowColumnHeaders) read GetProperty write SetProperty default True;`

## Description

ShowColumnHeaders is a Boolean property which indicates whether column headers are displayed for the Report view style (ViewStyle = vsReport). When enabled, the captions for the Columns defined for the control are displayed as column headers. The default value for the property is True.

ShowColumnHeaders is one of the TListViewProperty values included in the TListViewProperties set type and exchanged with the widgetset class. The property value is read from and written to the TCustomTreeview widgetset class instance when its handle is valid. Changing the value for the property causes the widgetset class to be updated with the new value.

## See also

TCustomListView.Columns |  | Collection with the column definitions for the list view control (size, alignment, image index, etc.).
TListViewProperties |  | Set type used to store values from the TListViewProperty enumeration.
TListViewProperty |  | Represents Boolean properties used in TCustomListView.
TListColumn.Caption |  | Caption text (heading) for the column.