Skip to main content
A newer version of this page is available. .

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

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.
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