TreeListNodes.Add(Object[]) Method
Adds a new child TreeListNode containing the specified values.
Namespace: DevExpress.XtraTreeList.Nodes
Assembly: DevExpress.XtraTreeList.v26.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| nodeData | Object[] | An array of values or a DataRow object, used to initialize the created node’s cells. |
Returns
| Type | Description |
|---|---|
| TreeListNode | The created TreeListNode object. |
Remarks
This method calls the TreeList.AppendNode(nodeData, ParentNode) method. The TreeListNodes.ParentNode property’s value is passed as the method’s second parameter. See the TreeList.AppendNode topic to learn more.
See Also