TdxLayoutContainer.CloneItem(TdxCustomLayoutItem,TdxCustomLayoutGroup) Method
Creates the AItem‘s clone.
Declaration
function CloneItem(AItem: TdxCustomLayoutItem; AParent: TdxCustomLayoutGroup = nil): TdxCustomLayoutItem; virtual;
Parameters
Name | Type |
---|---|
AItem | TdxCustomLayoutItem |
AParent | TdxCustomLayoutGroup |
Returns
Type |
---|
TdxCustomLayoutItem |
Remarks
AItem specifies the layout item pattern.
AParent specifies the parent group of the newly created item. If AParent is nil, the created item is invisible (it is stored in the layout control’s available items list).
See Also