TreeListNodes.Add(Object) Method

Appends a new node to the end of the TreeListNodes collection and initializes the node with the specified data.

Namespace: DevExpress.XtraTreeList.Nodes

Assembly: DevExpress.XtraTreeList.v21.2.dll


public TreeListNode Add(
    object nodeData


Name Type Description
nodeData Object

An array of values or a DataRow object, used to initialize the created node’s cells.


Type Description

The new TreeListNode object.


The nodeData parameter specifies data for the columns of the node that is to be created. This parameter value can be an array of values or a DataRow object. The number and order of items in the array/DataRow object must match the number and order of Tree List columns.

To learn more, see Nodes.

See Also