TreeListNodes.Add(Object) Method
In This Article
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.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public TreeListNode Add(
object nodeData
)
#Parameters
Name | Type | Description |
---|---|---|
node |
Object | An array of values or a Data |
#Returns
Type | Description |
---|---|
Tree |
The new Tree |
#Remarks
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