TcxComponentCollection.IndexOf(TcxComponentCollectionItem) Method
In This Article
Returns the zero-based index of a specified item within the collection.
#Declaration
Delphi
function IndexOf(AItem: TcxComponentCollectionItem): Integer;
#Parameters
Name | Type |
---|---|
AItem | Tcx |
#Returns
Type |
---|
Integer |
#Remarks
This function searches the Items collection for the AItem, and if it is found, returns its zero-based index. Otherwise, -1 is returned.
See Also