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

TcxDataSummaryItems.FindByTag(Longint) Method

Searches a summary item with the specified tag.

#Declaration

Delphi
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