Vcl.ExtCtrls.TGridPanel.ColumnCollection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ColumnCollection: TColumnCollection read FColumnCollection write SetColumnCollection;

C++

__property ColumnCollection;

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TGridPanel

Description

Sets the number and size of the columns on the grid panel.

Vcl.ExtCtrls.TGridPanel.ColumnCollection inherits from Vcl.ExtCtrls.TCustomGridPanel.ColumnCollection. All content below this line refers to Vcl.ExtCtrls.TCustomGridPanel.ColumnCollection.

Sets the number and size of the columns on the grid panel.

Use the ColumnCollection property to set the number of columns as well as the size of each column. You can use the SizeStyle property to specify whether column sizes are based on a percentage of the available width, based on an absolute value, or automatically sized.