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

TdxTreeViewNodes.AddFirst(TdxTreeViewNode,string) Method

Prepends a new node at the same nesting level as the target node.

#Declaration

Delphi
function AddFirst(ASibling: TdxTreeViewNode; const S: string): TdxTreeViewNode;

#Parameters

Name Type Description
ASibling TdxTreeViewNode

A target node. If ASibling is nil (in Delphi) or nullptr (in C++Builder), the node is added to the root node as a child.

S string

A caption string.

#Returns

Type Description
TdxTreeViewNode

The created node.

See Also