New to Telerik UI for WinForms? Download free 30-day trial

Sorting Nodes

RadTreeView support nodes sorting. The sorting operation is applied separately to each group of nodes at the the same level. To sort the nodes, you should just set the SortOrder property to one of the following values: None, Ascending or Descending.

For example, if we have this RadTreeView instance:

treeview-working-with-nodes-sorting 001

and we set the SortOrder as shown below:

this.radTreeView1.SortOrder = SortOrder.Ascending;

Me.RadTreeView1.SortOrder = SortOrder.Ascending

we will get this look of RadTreeView at the end:

treeview-working-with-nodes-sorting 002

See Also

In this article
Not finding the help you need? Improve this article