TCustomComponentTree Class
Abstract base tree view for displaying the component hierarchy of a root component.
Remarks
TCustomComponentTree extends TCustomTreeView to automatically populate its nodes from the owned components of a root TComponent. When linked to a TAdvCustomComponentInspector via ComponentInspector, the tree and the inspector stay synchronized: selecting a node updates the inspector's Instance, and inspector changes are reflected back in the tree.
Syntax
Unit: ComponentInspector
TCustomComponentTree = class(TCustomTreeView);
Methods
| Name | Description |
|---|---|
| AddComponent | Adds AComponent to the tree if it passes the current filter and is not already present. |
| DeleteComponent | Removes the tree node representing AComponent if one exists. |
| GetComponentNode | Returns the tree node that represents AComponent, or nil if the component is not in the tree. |
| RefreshTree | Clears and rebuilds the entire tree from the current Root component. |