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.AddChildFirst(string,Pointer) Method

Prepends a new child node.

#Declaration

Delphi
function AddChildFirst(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 AddChildFirst 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 prepends the node to the Items collection.

See Also