Vcl.ExtCtrls.TGridPanel.ColumnCollection
Delphi
property ColumnCollection;
C++
__property ColumnCollection;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TGridPanel |
Description
ColumnCollection property sets the number and size of the columns on the grid panel.
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.
To prevent changes to the size and position of dynamically added columns in a GridPanel, you should use the BeginUpdate and EndUpdate methods.