Skip to main content

TdxTreeViewNode Members

A tree view node.

Constructors

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

Properties

Name Description
AbsoluteIndex Returns the node’s index in the Tree View.
Caption Specifies the node’s caption.
Checked Specifies if the node’s checkbox is checked.
CheckState Specifies the node’s checkbox state.
Count Returns the total count of the node’s children. Inherited from TdxTreeCustomNode.
Cut Specifies if the node is highlighted as a cut and paste operation target.
Data Specifies a pointer to custom data associated with the node. Inherited from TdxTreeCustomNode.
Deleting Identifies if the Tree View deletes the node.
DropTarget Identifies if the node is the target of a drag-and-drop operation.
Enabled Specifies if the node’s checkbox is enabled.
Expanded Specifies if the node is expanded. Inherited from TdxTreeCustomNode.
ExpandedImageIndex Specifies an image index for the node in expanded state.
First Provides access to the node’s first child. Inherited from TdxTreeCustomNode.
Focused Specifies if the node has focus.
HasChildren Specifies whether the node expand button is visible if the node has no children. Inherited from TdxTreeCustomNode.
HideCheckBox Specifies if the node’s checkbox is hidden.
ImageIndex Specifies the node image index. Inherited from TdxTreeCustomNode.
Index Returns the node index in the parent node’s Items collection. Inherited from TdxTreeCustomNode.
IsVisible Identifies if the node is visible.
Items Provides indexed access to the node’s children. Inherited from TdxTreeCustomNode.
Last Provides access to the node’s last child. Inherited from TdxTreeCustomNode.
Level Returns the node’s nesting level in the tree. Inherited from TdxTreeCustomNode.
Next Provides access to the node’s next sibling. Inherited from TdxTreeCustomNode.
OverlayImageIndex Specifies an index of the image used as the node image’s overlay mask.
Owner Provides access to the node owner. Inherited from TdxTreeCustomNode.
Parent Provides access to the node’s parent. Inherited from TdxTreeCustomNode.
Prev Provides access to the node’s previous sibling. Inherited from TdxTreeCustomNode.
Root Provides access to the root node. Inherited from TdxTreeCustomNode.
Selected Specifies if the node is selected.
SelectedImageIndex Specifies an image index for the node in selected state.
StateImageIndex Specifies an index of the node’s additional image.
Visible Specifies if the node is visible. Inherited from TdxTreeCustomNode.
VisibleIndex Returns the visible node’s index in the Tree View.

Methods

Name Description
AddChild Appends a new child node with the default settings. Inherited from TdxTreeCustomNode.
AddChild(string,Pointer) Appends a new child node.
AddChildFirst Prepends a new child node with the default settings. Inherited from TdxTreeCustomNode.
AddChildFirst(string,Pointer) Prepends a new child node.
AddNode(TdxTreeCustomNode,TdxTreeCustomNode,Pointer,TdxTreeNodeAttachMode) Adds a node. Inherited from TdxTreeCustomNode.
AddNode(TdxTreeViewNode,TdxTreeViewNode,Pointer,TdxTreeNodeAttachMode) Adds a node.
AlphaSort(Boolean) Sorts the node’s children.
Assign(TdxTreeCustomNode) Assigns the specified node’s settings to the current node. Inherited from TdxTreeCustomNode.
BeginUpdate Prevents node owner updates until an EndUpdate call. Inherited from TdxTreeCustomNode.
Clear Destroys the node’s children. Inherited from TdxTreeCustomNode.
Collapse(Boolean) Collapses the node.
CustomSort(TdxCustomTreeNodeCompareProc,Boolean) Custom sorts the node’s children. Inherited from TdxTreeCustomNode.
CustomSort(TdxTreeViewNodeCompareProc,TdxNativeInt,Boolean) Custom sorts the node’s children.
Delete Deletes the node and its children. Inherited from TdxTreeCustomNode.
DeleteChildren Destroys the node’s children. Inherited from TdxTreeCustomNode.
DisplayRect(Boolean) Returns the node’s bounds.
EditCaption Opens the node’s in-place caption editor if it is possible.
EndEdit(Boolean) Closes the node’s in-place caption editor.
EndUpdate Enables node owner updates after a BeginUpdate call. Inherited from TdxTreeCustomNode.
Equals(TObject) Inherited from TObject.
Expand(Boolean) Expands the node.
GetHashCode Inherited from TObject.
GetNext Provides access to the next node.
GetPrev Provides access to the previous node.
HasAsParent(TdxTreeCustomNode) Determines if the specified node is the current node’s ancestor. Inherited from TdxTreeCustomNode.
Invalidate Redraws the node.
IsRoot Determines if the node is root. Inherited from TdxTreeCustomNode.
LoadChildren Loads child nodes. Inherited from TdxTreeCustomNode.
MakeVisible Expands all ancestor nodes of the node and brings it into view.
MoveTo(TdxTreeCustomNode,TdxTreeNodeAttachMode) Moves the node and its children to the specified location in the tree. Inherited from TdxTreeCustomNode.
ToString Inherited from TObject.
See Also