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

TcxDataSummaryGroupItemLinks.IndexOfItemLink(TObject) Method

Determines the position of the collection element, which makes reference to a specified item.

#Declaration

Delphi
function IndexOfItemLink(AItemLink: TObject): Integer;

#Parameters

Name Type
AItemLink TObject

#Returns

Type
Integer

#Remarks

The IndexOfItemLink function returns the index of the element in the collection, which makes reference to a specified item via the ItemLink property. If the current collection does not contain the TcxDataSummaryGroupItemLink object, which references AItemLink, the function returns -1. The collection of items is supported by the Items property.

You can use the ItemOfItemLink method to retrieve the TcxDataSummaryGroupItemLink object itself instead of its index.

See Also