TreeListNode.Clone() Method
In This Article
Returns a copy of this node.
Namespace: DevExpress.XtraTreeList.Nodes
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
#Returns
Type | Description |
---|---|
Object | A Tree |
#Remarks
The cloned node is not added to the TreeList control’s hierarchical structure. You can use the TreeListNodes.Add method to add the specified node to the nodes collection. Child nodes collection of a node can be accessed via its TreeListNode.Nodes property.
Use the TreeList.CopyNode method to create a node’s copy and add it to the child collection of the specified node.
See Also