Skip to main content

TdxLayoutContainer.CreateGroup(TdxCustomLayoutGroupClass,TdxCustomLayoutGroup) Method

Creates a new layout group.

Declaration

function CreateGroup(AGroupClass: TdxCustomLayoutGroupClass; AParent: TdxCustomLayoutGroup = nil): TdxCustomLayoutGroup; overload;

Parameters

Name Type
AGroupClass TdxCustomLayoutGroupClass
AParent TdxCustomLayoutGroup

Returns

Type
TdxCustomLayoutGroup

Remarks

This function returns the newly created group.

AGroupClass specifies the class of a group to be created: TdxLayoutGroup or TdxLayoutAutoCreatedGroup.

AParent specifies the parent group of the newly created group. If AParent is nil, the default class is used (TdxLayoutGroup).

See Also