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

TcxComponentCollection Members

A collection of components.

#Constructors

Name Description
Create(TComponent,TcxComponentCollectionItemClass) Initializes a new instance of the TcxComponentCollection class with specified settings.

#Properties

Name Description
Count Gets the number of elements in the collection.
Items Provides indexed access to the collection elements.
ParentComponent

#Methods
Show Inherited Hide Inherited

Name Description
Add
Add(TcxComponentCollectionItemClass) Creates a new TcxComponentCollectionItem instance and appends it to the collection.
Assign(TPersistent) Inherited from TPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
BeginUpdate Acquires a lock on the collection.
Clear Deletes all the TcxComponentCollectionItem instances from the collection and destroys them.
CustomSort(TcxComponentCollectionSortCompareFunc)
Delete(Integer) Removes the specified TcxComponentCollectionItem instance from the collection and destroys it.
EndUpdate(Boolean) Releases a lock and updates the collection.
Equals(TObject) Inherited from TObject.
FindItemByID(Integer) Returns a reference to a collection element, by its unique identifier.
GetHashCode Inherited from TObject.
GetNamePath Inherited from TPersistent.
GetOwner Inherited from TPersistent.
IndexOf(TcxComponentCollectionItem) Returns the zero-based index of a specified item within the collection.
Insert(Integer) Creates a new TcxComponentCollectionItem instance and inserts it into the collection at the position specified by the zero-based AIndex parameter.
Remove(TcxComponentCollectionItem) Removes a specified item from the collection.
ToString Inherited from TObject.
Update(TcxComponentCollectionItem,TcxComponentCollectionNotification) protected Updates a collection to reflect any changes made.

#Events

Name
OnChange
See Also