Back to Devexpress

TdxOcNode Members

vcl-dxorgchr-dot-tdxocnode-dot-underscore-members.md

latest6.4 KB
Original Source

TdxOcNode Members

A tree node.

Constructors

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

Properties

NameDescription
AbsoluteCountReturns the total count of child nodes.
AbsoluteItemsProvides indexed access to all the child nodes at all hierarchy levels.
ChildAlignAligns the node in relation to its direct descendants.
ColorSpecifies the node’s background color.
CountReturns the node’s direct descendants count.
DataPoints to custom data, associated with the node
DeletingIdentifies if the node is being removed.
ExpandedSpecifies whether the tree node is expanded.
HasChildrenSpecifies if the node has the list for storing child nodes.
HeightSpecifies the tree node height, in pixels.
ImageAlignSpecifies the image position within a node.
ImageIndexSpecifies an image displayed within the tree node.
IndexReturns the zero-based index corresponding to the node’s position among its siblings.
IsVisibleIdentifies if both the current node and its parent are expanded.
ItemsProvides zero-based indexed access to individual child nodes.
LevelReturns the node’s nesting level.
OwnerProvides access to the OrgChart control to which the node belongs.
ParentProvides access to the current node’s parent.
SelectedSpecifies whether the node is selected
ShapeSpecifies the node frame’s geometric shape.
TextSpecifies a text string associated with the node.
WidthSpecifies the tree node width, in pixels.

Methods

NameDescription
ChildrenHeightThis function returns the total height (in pixels) of the area occupied by current node’s children.
ChildrenWidthReturns the node’s children width.
ClientRectReturns the node’s client area.
Collapse(Boolean)Collapses the node’s children.
DeleteChildrenDeletes all the node’s children.
DisplayRectReturns the node’s bounding rectangle.
Equals(TObject)Inherited from TObject.
Expand(Boolean)Shows the node’s children.
FocusedIdentifies whether the node has focus.
FullHeightReturns the height of the current node and its expanded children, in pixels.
FullWidthReturns the width of the current node and its expanded children, in pixels.
GetFirstChildReturns the tree node’s first child.
GetHashCodeInherited from TObject.
GetLastChildReturns the tree node’s last child.
GetNextReturns the next node in the control’s nodes list.
GetNextChild(TdxOcNode)Returns the child node following the specified one.
getNextSiblingReturns the next node at the same nesting level.
GetNextVisibleReturns 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.
GetPrevReturns the previous node in the list of all the control’s nodes.
GetPrevChild(TdxOcNode)Returns the child node preceding the specified one.
getPrevSiblingSpecifies the previous node at the same nesting level.
GetPrevVisibleReturns 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.
IsParentRootIdentifies whether the node’s parent is the tree root.
MakeVisibleShows the node within the control’s client area.
MoveTo(TdxOcNode,TdxOcNodeAttachMode)Moves the current node to a specific location within the tree.
ToStringInherited from TObject.

See Also

TdxOcNode Class

dxorgchr Unit