Skip to main content

TcxComponentCollectionItem.SetParentComponent(TComponent) Method

Adds the current element to a collection associated with a specified component.

Declaration

procedure SetParentComponent(Value: TComponent); override;

Parameters

Name Type
Value TComponent

Remarks

This method assigns to the Collection property, the collection associated with a component passed as the Value parameter.

Call the GetParentComponent function to access the parent component containing the current collection element.

See Also