Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomLayoutControl.CreateGroup(TdxLayoutGroupClass,TdxCustomLayoutGroup) Method

Creates a new group within the ExpressLayout Control and returns it.

#Declaration

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

#Parameters

Name Type
AGroupClass TdxLayoutGroupClass
AParent TdxCustomLayoutGroup

#Returns

Type
TdxCustomLayoutGroup

#Remarks

Call this method to create a new group within the ExpressLayout Control.

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

The AParent parameter specifies the parent group of the newly created group. By default, the AParent parameter is nil and the created group is invisible and presented within the list of available items of the Layout Control. To make it visible, you must assign its Parent property to any visible group. After this, the newly created group is removed from the available item list.

See Also