Back to Devexpress

TcxComponentCollection.Add(TcxComponentCollectionItemClass) Method

vcl-cxclasses-dot-tcxcomponentcollection-dot-add-x28-cxclasses-dot-tcxcomponentcollectionitemclass-x29.md

latest1.4 KB
Original Source

TcxComponentCollection.Add(TcxComponentCollectionItemClass) Method

Creates a new TcxComponentCollectionItem instance and appends it to the collection.

Declaration

delphi
function Add(AItemClass: TcxComponentCollectionItemClass): TcxComponentCollectionItem; overload;

Parameters

NameType
AItemClassTcxComponentCollectionItemClass

Returns

Type
TcxComponentCollectionItem

Remarks

The Add method creates a new TcxComponentCollectionItem instance and adds it to the end of the collection. A reference to the TcxComponentCollectionItem instance that was added is returned.

See Also

TcxComponentCollection.Clear

TcxComponentCollection.Delete

TcxComponentCollection.Insert

TcxComponentCollection.Remove

TcxComponentCollection Class

TcxComponentCollection Members

cxClasses Unit