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.FindItem(string) Method

Finds an item by its name or by a specific control (or its handle) associated with the item.

#Declaration

Delphi
function FindItem(const AName: string): TdxCustomLayoutItem; overload;

#Parameters

Name Type
AName string

#Returns

Type
TdxCustomLayoutItem

#Remarks

Use the FindItem method to return a specific ExpressLayout Control item/group. You can use the FindItem method to find an item, associated with a specific control. Each item is designed to be a container for any control derived from the TControl object. Therefore every ExpressLayout Control item has a Control property that contains the associated control name. You can find the appropriate ExpressLayout Control item if you know with which control this item is connected.

Use the FindItem method to find the appropriate ExpressLayout Control item/group if you know its name.

AControl specifies the name of an associated control.

AControlHandle specifies the handle of an associated control.

AName specifies the name of the desired item/group.

See Also