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

Sorting

The RadTreeListView provides you with a built-in sorting functionality, which allows the user to easily sort the data by one or by several columns. The data can be sorted in three ways:

  • Ascending

  • Descending

  • No Sort

The data gets sorted when the header of a column is clicked. When sorted, you should see the header of the column highlighted and the appropriate arrow for ascending or descending sorting. By clicking on the header again, the sort direction is changed to descending and on the next click the sorting is cleared. The header goes into its normal state and the arrow disappears.

As the RadTreeListView directly inherits the RadGridView it uses its sorting mechanism. The RadGridView allows you to implement programmatic sorting, custom sorting and even multiple-column sorting. To learn more read the respective topics in the RadGridView's documentation.

See Also

In this article