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

TdxNavBarCustomItems.ItemByCaption(string) Method

Searches the collection for an item with the specified caption.

#Declaration

Delphi
function ItemByCaption(const ACaption: string): TdxNavBarCustomItem;

#Parameters

Name Type
ACaption string

#Returns

Type
TdxNavBarCustomItem

#Remarks

This function returns the first item whose Caption property value equals the ACaption parameter value. If no item is found, nil is returned.

See Also