TdxTreeCustomNode Class
The base class for tree node classes.
Declaration
TdxTreeCustomNode = class(
TObject
)
Remarks
This class implements the basic functionality required to create a tree structure.
The TdxTreeCustomNode class members allow you to do the following:
Add nodes (AddChild, AddChildFirst, and AddNode).
Delete nodes (Clear, Delete, and DeleteChildren).
Count node children (Count).
Sort child nodes (CustomSort).
Specify the node’s image index (ImageIndex).
Copy settings between nodes (Assign).
Access the node’s parent and siblings (Parent, Next, and Prev).
Check if a node is the node’s ancestor (HasAsParent).
Show the expand button (HasChildren).
Expand or collapse the node (Expanded).
Access the node’s owner (Owner).
Manage node owner updates (BeginUpdate and EndUpdate).
Attach data to the node (Data).
Hide or display the node (Visible).
Access the tree root (Root).
Identify if the node is a root (IsRoot).
Move the node in the tree (MoveTo).
Load child nodes (LoadChildren).
Do not use the TdxTreeCustomNode class directly. Use the following descendants: