Vcl.ExtCtrls.TGridPanel.ColumnCollection
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. {{#multireplace:Vcl.ExtCtrls.TGridPanel.ColumnCollection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ExtCtrls.TCustomGridPanel.ColumnCollection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ExtCtrls.TCustomGridPanel.ColumnCollection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.