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:

WinForms RadTreeView Sorting Nodes

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:

WinForms RadTreeView SortOrder Ascending

See Also

In this article