Skip to main content

TdxCustomLayoutGroup.CreateItem(TdxCustomLayoutItemClass) Method

Creates a new item within a given group and returns the newly created item.

Declaration

function CreateItem(AItemClass: TdxCustomLayoutItemClass = nil): TdxCustomLayoutItem;

Parameters

Name Type
AItemClass TdxCustomLayoutItemClass

Returns

Type
TdxCustomLayoutItem

Remarks

Use the CreateItem method to create a new item within a group. A group represents a parent group for the newly created item. The AItemClass parameter specifies the class of the created item. By default, it is nil and therefore the default item class is used (TdxLayoutItem).

See Also