Defines the base class for nodes in a tree.
Each node in a tree stores an
Item and tracks its child nodes.
Namespace: GTree
Delphi
|
type
TGCustomTreeNode = class(TPersistent)
end;
|
|
Name
|
Description
|
|
ChildCount
|
Returns the number of children or child nodes of the current node.
|
|
Child[Integer]
|
Specifies the child nodes of the current node.
Use the Child and ChildCount properties to iterate over all the children of the current node.
|
|
Item
|
Specifies the Item that is associated with the node.
|
|
Owner
|
Returns the tree that this node belongs to.
|
|
Parent
|
Returns the parent node of the current node or nil if this is the top node in the tree.
|
Top
|