TcxDataSummaryGroupItemLinks.IndexOfItemLink(TObject) Method
In This Article
Determines the position of the collection element, which makes reference to a specified item.
#Declaration
#Parameters
Name | Type |
---|---|
AItem |
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