Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxTreeListNode.InsertChild(TcxTreeListNode) Method

Inserts a child node into the node’s child collection.

#Declaration

Delphi
function InsertChild(ABeforeNode: TcxTreeListNode): TcxTreeListNode; virtual;

#Parameters

Name Type
ABeforeNode TcxTreeListNode

#Returns

Type
TcxTreeListNode

#Remarks

Call this function to insert a new node into the child collection of this node. The ABeforeNode parameter specifies the node, before which the new node is inserted. The function returns the inserted node.

You can call the node’s AddChildFirst function to insert a node as the first of the node’s children.

Note

Call these functions only when working with a TcxTreeList control in unbound mode.

See Also