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

TdxNavBarComponentCollection.ItemByName(string) Method

Returns a collection item by its name.

#Declaration

Delphi
function ItemByName(const AName: string): TdxNavBarComponentCollectionItem;

#Parameters

Name Type
AName string

#Returns

Type
TdxNavBarComponentCollectionItem

#Remarks

Use the ItemByName method to get a collection item by its name, the name to search for is specified via the AName parameter. The ItemByName method returns the item object whose Name property value is equal to the value of the AName parameter.

If no item matching the name was found in the collection’s Items list, the ItemByName method returns nil.

You can also use the Items property to access a specific collection item by its integer index.

See Also