Skip to main content

TcxCustomTreeList.CreateColumn(TcxTreeListBand) Method

Creates a new column.

Declaration

function CreateColumn(ABand: TcxTreeListBand = nil): TcxTreeListColumn; virtual;

Parameters

Name Type Description
ABand TcxTreeListBand

The parent band for the created column.

If the ABand parameter accepts nil (in Delphi) or nullptr (in C++Builder) instead of a TcxTreeListBand class instance, the created column is assigned to the first visible band or to the first band in the control’s band collection.

If the control is empty, the CreateColumn function also creates a new band.

Returns

Type Description
TcxTreeListColumn

The created column.

See Also