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

TdxBadges.IndexOf(TdxBadge) Method

Identifies the specified badge UI adorner‘s index within the collection.

#Declaration

Delphi
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