Skip to main content

TcxTreeListNode Members

The base class for nodes used in the TcxDBTreeList, TcxTreeList, and TcxVirtualTreeList controls.

Constructors

Name Description
Create(TcxCustomTreeList) Initializes a new instance of the TcxTreeListNode class with specified settings.

Properties

Name Description
AbsoluteIndex Returns the node’s index in the TreeList control.
AllowGrayed Specifies the check mode of the node’s check box.
Checked Specifies the node’s checked state.
CheckGroupType Specifies the type of control to be displayed in the node’s children to indicate their checked state.
CheckState Specifies the node’s checked state.
ChildVisibleCount Returns the number of the node’s children available in the View.
Count Returns the number of child nodes.
Data Specifies the pointer to data associated with the node.
Deleting Indicates whether a node’s Delete method has been called and if the node is being deleted.
Enabled Specifies if end-users can change the state of a control (a check box or radio button) that indicates the node’s checked state.
ErrorCodes
Expanded Specifies whether the node is expanded.
Focused Determines whether the node has focus.
FooterSummaryCount Returns the number of node summaries.
FooterSummaryTexts Provides indexed access to display values of the node’s summaries.
FooterSummaryValues Provides indexed access to the node’s summary values.
HasCheckbox Checks if the node displays a control (a check box or radio button) that indicates its checked state.
HasChildren Specifies whether the node’s expand button is to be displayed if the node has no children.
HasVisibleChildren Checks whether the node has children available in the View.
Height Specifies the node’s height, in pixels.
HotTrack Determines whether the node is hot-tracked.
ImageIndex Specifies the node’s select image.
Index Returns the node index within its parent node’s Items collection.
Inserting
IsEditing
IsFirst Indicates whether the node is the first child node of its parent‘s Items collection.
IsFirstVisible Indicates whether the node is the first visible node within the TreeList control.
IsGroupNode Indicates if the node is a group node.
IsHidden Indicates if the node is hidden in the View (filtered out).
IsLast Indicates whether the node is the last child node of its parent‘s Items collection.
IsLastVisible Indicates whether the node is the last visible node within the TreeList control.
IsVisible Indicates if the node is hidden within collapsed parents.
Items Provides zero-based indexed access to the node’s child nodes.
Level Returns the node’s nesting level.
OverlayIndex Specifies an additional image that is overlaid on the node select image.
OverlayStateIndex Specifies an additional image that is overlaid on the node specific state image.
Parent Returns the node’s parent node.
Root Provides access to the virtual node that roots all the tree list nodes.
Selected Specifies whether the node is selected.
SelectedIndex Specifies the image for the selected node.
StateIndex Specifies the state image for the node.
Texts Provides indexed access to the string representation of the node’s column values.
TreeList Returns the TreeList control owning the node.
ValueCount Returns the number of values displayed within the node.
Values Provides indexed access to column values within the node.
Visible Specifies the node’s availability in the tree list.
VisibleIndex Returns the node’s index among visible nodes.

Methods

Name Description
AddChild Creates a node and appends it to the end of the current node’s child collection.
AddChildFirst Creates a node and inserts it at the first position in the current node’s child collection.
AlphaSort(Boolean) Sorts the node’s child nodes.
Assign(TPersistent) Inherited from TPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
AssignValues(Variant[]) Assigns the node’s column values.
CanCollapse Indicates whether the node can be collapsed.
CanExpand Indicates whether the node can be expanded.
CanMove(TcxTreeListNode,TcxTreeListNodeAttachMode) Indicates whether the node can be moved to the location specified within the TreeList.
CheckClick Clicks a control (a check box or radio button) that indicates the node’s checked state.
Collapse(Boolean) Collapses the node.
CustomSort(TcxTreeListCompareFunc,Boolean) Custom sorts the node’s children.
Delete Removes the node and all its children from the TreeList control.
DeleteChildren Removes the node’s children.
DisplayRect(Boolean) Returns the node’s bounding rectangle.
EndEdit(Boolean) Switches the node from edit to browse mode.
Equals(TObject) Inherited from TObject.
Expand(Boolean) Expands the node.
getFirstChild Returns the node’s first child.
GetFirstChildVisible Returns a node’s first child that is available in the View.
GetHashCode Inherited from TObject.
GetLastChild Returns the node’s last child.
GetLastChildVisible Returns a node’s last child that is available in the View.
GetNamePath Inherited from TPersistent.
GetNext Returns the node next to the current one within the tree structure.
GetNextChild(TcxTreeListNode) Returns the next child node after the node specified.
getNextSibling Returns the next node at the current nesting level.
GetNextSiblingVisible Returns the next node available in the View at the current nesting level.
GetNextVisible Returns the next visible node.
GetOwner Inherited from TPersistent.
GetPrev Returns the node previous to the current one.
GetPrevChild(TcxTreeListNode) Returns the previous child of the node specified.
getPrevSibling Returns the previous node at the current nesting level.
GetPrevSiblingVisible Returns the previous node available in the View at the current nesting level.
GetPrevVisible Returns the previous visible node.
HasAsParent(TcxTreeListNode) Checks whether the specified node is the parent of this node.
IndexOf(TcxTreeListNode) Returns the specified node’s index among this node’s children.
InsertChild(TcxTreeListNode) Inserts a child node into the node’s child collection.
Invalidate Informs the control that the node needs to be repainted.
IsMultiThreadedSorting
IsSibling(TcxTreeListNode) Checks whether the specified node is a sibling of the current node.
LoadChildren Loads the node’s children, if any exist.
MakeVisible Ensures that the node is displayed.
MoveTo(TcxTreeListNode,TcxTreeListNodeAttachMode) Moves the node to the location specified within the TreeList control.
Repaint(Boolean) Redraws the node.
ToString Inherited from TObject.
See Also