How to?
1. Create a node (Root Node) from zero.
2. Add the nodes of our existing treeview to the new node.
Example:
(rtvFrom is my radtreeview)
1 Dim node As New RadTreeNode("Root Menu")
2 node.Nodes.AddRange(rtvFrom.Nodes.Cast(Of RadTreeNode)())
3 rtvFrom.Nodes.Add(node)
4 rtvFrom.ExpandAllNodes()
No comments:
Post a Comment