API:Vcl.ComCtrls.TListView.Columns

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Columns: TListColumns read FListColumns write SetListColumns;

C++

__property Columns;

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListView

Description

Describes the properties of the columns in the list view.

Vcl.ComCtrls.TListView.Columns inherits from Vcl.ComCtrls.TCustomListView.Columns. All content below this line refers to Vcl.ComCtrls.TCustomListView.Columns.

Describes the properties of the columns in the list view.

Use Columns to add or delete columns in the list view, or to edit their display properties. When setting Columns at design time a ListView Columns Editor dialog appears. This dialog allows columns to be added or deleted, and the display properties of individual columns to be changed. At runtime, use the Caption, Alignment, and Width properties of the TListColumn objects accessed by the Columns property to change the appearance of the column headers.

Note: To display the columns, set the ViewStyle property to vsReport and the ShowColumnHeaders property to true.

See Also

Code Examples