Skip to main content

TdxNavBarCustomItems.ItemByCaption(string) Method

Searches the collection for an item with the specified caption.

Declaration

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