Back to Devexpress

TcxComponentCollectionItem.Collection Property

vcl-cxclasses-dot-tcxcomponentcollectionitem.md

latest1.4 KB
Original Source

TcxComponentCollectionItem.Collection Property

Specifies the collection containing the current element.

Declaration

delphi
property Collection: TcxComponentCollection read; write;

Property Value

Type
TcxComponentCollection

Remarks

Assigning this property removes the current element from the collection that contains it and then adds this element to a specified collection.

Call the SetParentComponent method to add the current element to a collection associated with a certain component.

See Also

TcxComponentCollectionItem.AddToCollection

TcxComponentCollectionItem.GetParentComponent

TcxComponentCollectionItem.RemoveFromCollection

TcxComponentCollectionItem.SetParentComponent

TcxComponentCollectionItem Class

TcxComponentCollectionItem Members

cxClasses Unit