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.CreateItemForControl(TControl,TdxCustomLayoutGroup) Method

Creates a new layout item for an existing control, and places it within a specified layout group.

#Declaration

Delphi
function CreateItemForControl(AControl: TControl; AParent: TdxCustomLayoutGroup = nil): TdxLayoutItem;

#Parameters

Name Type
AControl TControl
AParent TdxCustomLayoutGroup

#Returns

Type
TdxLayoutItem

#Remarks

This function returns the newly created item.

AControl specifies the control for which the item is created.

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