Skip to main content

TdxOcNode Members

A tree node.

Constructors

Name Description
Create(TdxCustomOrgChart) Creates an instance of the TdxOcNode class.

Properties

Name Description
AbsoluteCount Returns the total count of child nodes.
AbsoluteItems Provides indexed access to all the child nodes at all hierarchy levels.
ChildAlign Aligns the node in relation to its direct descendants.
Color Specifies the node’s background color.
Count Returns the node’s direct descendants count.
Data Points to custom data, associated with the node
Deleting Identifies if the node is being removed.
Expanded Specifies whether the tree node is expanded.
HasChildren Specifies if the node has the list for storing child nodes.
Height Specifies the tree node height, in pixels.
ImageAlign Specifies the image position within a node.
ImageIndex Specifies an image displayed within the tree node.
Index Returns the zero-based index corresponding to the node’s position among its siblings.
IsVisible Identifies if both the current node and its parent are expanded.
Items Provides zero-based indexed access to individual child nodes.
Level Returns the node’s nesting level.
Owner Provides access to the OrgChart control to which the node belongs.
Parent Provides access to the current node’s parent.
Selected Specifies whether the node is selected
Shape Specifies the node frame’s geometric shape.
Text Specifies a text string associated with the node.
Width Specifies the tree node width, in pixels.

Methods

Name Description
ChildrenHeight This function returns the total height (in pixels) of the area occupied by current node’s children.
ChildrenWidth Returns the node’s children width.
ClientRect Returns the node’s client area.
Collapse(Boolean) Collapses the node’s children.
DeleteChildren Deletes all the node’s children.
DisplayRect Returns the node’s bounding rectangle.
Equals(TObject) Inherited from TObject.
Expand(Boolean) Shows the node’s children.
Focused Identifies whether the node has focus.
FullHeight Returns the height of the current node and its expanded children, in pixels.
FullWidth Returns the width of the current node and its expanded children, in pixels.
GetFirstChild Returns the tree node’s first child.
GetHashCode Inherited from TObject.
GetLastChild Returns the tree node’s last child.
GetNext Returns the next node in the control’s nodes list.
GetNextChild(TdxOcNode) Returns the child node following the specified one.
getNextSibling Returns the next node at the same nesting level.
GetNextVisible Returns the next visible node in the list of all the control’s nodes.
GetNodeInfo(TdxOcNodeInfo,TdxScaleFactor) Returns certain node property values as a packed record.
GetPrev Returns the previous node in the list of all the control’s nodes.
GetPrevChild(TdxOcNode) Returns the child node preceding the specified one.
getPrevSibling Specifies the previous node at the same nesting level.
GetPrevVisible Returns the previous visible node in the list of all the control’s nodes.
HasAsParent(TdxOcNode) Identifies whether the specified node is the parent of the current one.
IndexOf(TdxOcNode) Returns the index of the specified child node.
IsParentRoot Identifies whether the node’s parent is the tree root.
MakeVisible Shows the node within the control’s client area.
MoveTo(TdxOcNode,TdxOcNodeAttachMode) Moves the current node to a specific location within the tree.
ToString Inherited from TObject.
See Also