New to Telerik UI for WinFormsStart a free 30-day trial

Sorting

Updated over 6 months ago

Enabling sorting is done by setting EnableSorting property to true. You should add appropriate an SortDescriptor to the SortDescriptors collection as well.

Enable Column Sorting

C#
this.radCardView1.EnableSorting = true;

The following code demonstrates how to add SortDescriptor to RadCardView:

Adding SortDescriptors

C#
SortDescriptor sortDescriptor = new SortDescriptor("Id", ListSortDirection.Ascending);
this.radCardView1.SortDescriptors.Add(sortDescriptor);
Not finding the help you need?
Contact Support