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

TcxComponentCollectionItem.AddToCollection(TcxComponentCollection) Method

Adds the current collection element to a collection.

#Declaration

Delphi
procedure AddToCollection(ACollection: TcxComponentCollection);

#Parameters

Name Type
ACollection TcxComponentCollection

#Remarks

Call the AddToCollection method to add the current collection element to the collection specified by the ACollection parameter. Firstly the collection element is removed from the collection that owns it and then added as the last element to the specified collection (thus the element’s ID and Index properties are modified accordingly).

Note

If nil is passed as the ACollection parameter then the current collection element is simply removed from the collection that owns it.

See Also