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 Class

An abstract uniform object stored within a component collection.

#Declaration

Delphi
TcxComponentCollectionItem = class(
    TcxCustomComponent
)

#Remarks

This is the base class for all classes that implement uniform objects stored in a TcxComponentCollection class descendant instance.

The TcxComponentCollectionItem class extends its ancestor with the following members that allow you to:

  • Specify the collection for storing the object and its position (Collection and Index);

  • Obtain the collection element’s name displayed within the Collection Editor dialog (DisplayName);

  • Obtain the collection element’s unique component identifier (ID);

  • Access the parent component of the collection to which the object belongs (GetParentComponent);

  • Add/remove the object to/from the specified collection (AddToCollection and RemoveFromCollection);

  • Add the object to a collection associated with the specified component (SetParentComponent).

You do not need to create instances of the TcxComponentCollectionItem class. Use its descendants instead.

#Inheritance

See Also