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

TdxLayoutContainer.CreateItem(TdxCustomLayoutItemClass,TdxCustomLayoutGroup) Method

Creates a new layout item.

#Declaration

Delphi
function CreateItem(AItemClass: TdxCustomLayoutItemClass = nil; AParent: TdxCustomLayoutGroup = nil): TdxCustomLayoutItem;

#Parameters

Name Type
AItemClass TdxCustomLayoutItemClass
AParent TdxCustomLayoutGroup

#Returns

Type
TdxCustomLayoutItem

#Remarks

This function returns the newly created item.

AItemClass specifies the class of the item to be created. By default, it is nil and therefore the default item class is used (TdxLayoutItem).

AParent specifies the item’s parent group. If AParent is nil, the item is invisible (it is stored in the layout control’s available items list).

See Also