Skip to main content

TcxDataSummaryItems.ItemOfItemLink(TObject) Method

Determines the TcxDataSummaryItem object which references a specific item.

Declaration

function ItemOfItemLink(AItemLink: TObject): TcxDataSummaryItem;

Parameters

Name Type
AItemLink TObject

Returns

Type
TcxDataSummaryItem

Remarks

The ItemOfItemLink function returns the TcxDataSummaryItem object contained in the current collection which references AItemLink via the ItemLink property. If the current collection does not contain such an object, the function returns nil. The items collection is maintained by the Items property.

You can use the IndexOfItemLink method to retrieve the index of the appropriate TcxDataSummaryItem object instead of the object itself.

See Also