How to define descending sort order (in XAML) for DataGrid in SL/WPF?
In order to define column sorting the SortMemberPath c开发者_运维技巧an be used. But how can I define that this column shall be sorted descending?
I am not sure this will help but you may want to look at the CollectionViewSource Class. There is a SortDescriptions property where the sort order can be set. Take a look at this post for some sample code.
精彩评论