TcxTreeListNode.AddChildFirst Method
Creates a node and inserts it as the first item in the next level of the node hierarchy.
Declaration
function AddChildFirst: TcxTreeListNode; virtual;
Returns
| Type | Description |
|---|---|
| TcxTreeListNode | The created node. |
Remarks
Call the AddChild function instead to append a new child node to the collection’s end.
Other Node Creation Options in Unbound Mode
You can also call the following methods to create nodes in unbound mode:
- TcxCustomTreeList.AddNode
- Creates a new node at the target position or moves an existing node to a new position.
- TcxTreeList.Add
- Creates a node and adds it after the last node at the specified node’s nesting level.
- TcxTreeList.AddChild
- Creates a node and appends it as a child of the specified node.
- TcxTreeList.AddChildFirst
- Creates a node and adds it before the first child node of the specified node.
- TcxTreeList.AddFirst
- TcxTreeList.Insert
- Creates a new node and inserts it after the specified node.
- TcxTreeList.InsertEx
- Inserts a new or existing node after the specified node.
- TcxTreeListNode.AddChild
- Creates a node and inserts it as the last item in the next level of the node hierarchy.
See Also