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

TdxTreeViewNode.AddChild(string,Pointer) Method

Appends a new child node.

#Declaration

Delphi
function AddChild(ACaption: string = ''; AData: Pointer = nil): TdxTreeViewNode;

#Parameters

Name Type Description
ACaption string

A node caption.

AData Pointer

A pointer to specific data.

#Returns

Type Description
TdxTreeViewNode

The created node.

#Remarks

An AddChild function call creates a new node with the default settings, assigns ACaption and AData parameter values to the created node’s Caption and Data properties, and appends the node to the Items collection.

See Also