TreeListNodes.Add(Object[]) Method

Adds a new child TreeListNode containing the specified values.

Namespace: DevExpress.XtraTreeList.Nodes

Assembly: DevExpress.XtraTreeList.v21.2.dll

Declaration

public TreeListNode Add(
    params object[] nodeData
)

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