Edit this page

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

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy