Skip to main content

TcxDataSummaryItems.FindByTag(Longint) Method

Searches a summary item with the specified tag.

Declaration

function FindByTag(ATag: Longint): TcxDataSummaryItem;

Parameters

Name Type Description
ATag Longint

The target tag value.

Returns

Type Description
TcxDataSummaryItem

The first summary item whose Tag property value matches the ATag parameter value.

The function returns nil (in Delphi) or nullptr (in C++Builder) if the collection has no summary items with the specified tag value.

You may need to cast the returned object to the corresponding terminal TcxDataSummaryItem class descendant to access all public API members.

Tip

You can call the returned object’s ClassType function to identify the actual summary item type.

See Also