From RAD Studio API Documentation
Jump to: navigation, search


property Columns: TListColumns read FListColumns write SetListColumns;


__property TListColumns* Columns = {read=FListColumns, write=SetListColumns};


Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls TCustomListView


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