Skip to main content

TdxBadges.Insert(Integer) Method

Inserts a new badge UI adorner at the specified position within the collection.

Declaration

function Insert(Index: Integer): TdxBadge;

Parameters

Name Type
Index Integer

Returns

Type
TdxBadge

Remarks

Call this function to create a new badge with the default settings at the position passed as the Index parameter. The Insert function returns the newly created badge that you can customize.

To destroy a specific badge within the collection, you can call the Remove procedure. The Clear procedure destroys all badges.

See Also