Skip to main content

TdxTreeCustomNode Members

The base class for tree node classes.

Constructors

Name Description
Create(IdxTreeOwner) Creates a new tree node.

Properties

Name Description
Count Returns the total count of the node’s children.
Data Specifies a pointer to custom data associated with the node.
Expanded Specifies if the node is expanded.
First Provides access to the node’s first child.
HasChildren Specifies whether the node expand button is visible if the node has no children.
ImageIndex Specifies the node image index.
Index Returns the node index in the parent node’s Items collection.
Items Provides indexed access to the node’s children.
Last Provides access to the node’s last child.
Level Returns the node’s nesting level in the tree.
Next Provides access to the node’s next sibling.
Owner Provides access to the node owner.
Parent Provides access to the node’s parent.
Prev Provides access to the node’s previous sibling.
Root Provides access to the root node.
Visible Specifies if the node is visible.

Methods

Name Description
AddChild Appends a new child node with the default settings.
AddChildFirst Prepends a new child node with the default settings.
AddNode(TdxTreeCustomNode,TdxTreeCustomNode,Pointer,TdxTreeNodeAttachMode) Adds a node.
Assign(TdxTreeCustomNode) Assigns the specified node’s settings to the current node.
BeginUpdate Prevents node owner updates until an EndUpdate call.
Clear Destroys the node’s children.
CustomSort(TdxCustomTreeNodeCompareProc,Boolean) Custom sorts the node’s children.
Delete Deletes the node and its children.
DeleteChildren Destroys the node’s children.
EndUpdate Enables node owner updates after a BeginUpdate call.
Equals(TObject) Inherited from TObject.
GetHashCode Inherited from TObject.
HasAsParent(TdxTreeCustomNode) Determines if the specified node is the current node’s ancestor.
IsRoot Determines if the node is root.
LoadChildren Loads child nodes.
MoveTo(TdxTreeCustomNode,TdxTreeNodeAttachMode) Moves the node and its children to the specified location in the tree.
ToString Inherited from TObject.
See Also