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

TcxEditRepository.ItemByName(string) Method

Returns a stored edit repository item by its name.

#Declaration

Delphi
function ItemByName(const ARepositoryItemName: string): TcxEditRepositoryItem;

#Parameters

Name Type Description
ARepositoryItemName string

The target repository item name.

#Returns

Type Description
TcxEditRepositoryItem

The returned repository item whose name is passed as the ARepositoryItemName parameter. The function returns nil (in Delphi) or nullptr (in C++Builder) if the repository stores no item with the specified name.

To access all public API members of the returned repository item, you need to cast it to the corresponding edit repository item class. Call the item’s ClassType function to identify its actual class.

See Also