TcxTreeList.AddChild(TcxTreeListNode,Pointer) Method
In This Article
Creates a node and appends it as a child of the specified node.
#Declaration
Delphi
function AddChild(AParent: TcxTreeListNode; AData: Pointer = nil): TcxTreeListNode;
#Parameters
Name | Type | Description |
---|---|---|
AParent | Tcx |
The created node’s parent. If you pass nil (in Delphi) or nullptr (in C++Builder), the Add |
AData | Pointer | A pointer to a custom object you need to associate with the created tree node. The AData parameter value initializes the Data property of the created node. |
#Returns
Type | Description |
---|---|
Tcx |
The created node. |
See Also