TdxBadges.IndexOf(TdxBadge) Method
Identifies the specified badge UI adorner‘s index within the collection.
Declaration
function IndexOf(AItem: TdxBadge): Integer;
Parameters
| Name | Type |
|---|---|
| AItem | TdxBadge |
Returns
| Type |
|---|
| Integer |
Remarks
This function returns a zero-based index of the badge passed as the AItem parameter. The IndexOf function returns -1 if there is no specified badge in the collection.
The maximum index is the Count property value minus one.
See Also