This is driving me nuts and I spent a few days trying to fix it:
I have a WPF DataGrid that gets paged results from the database (custom implementation, not using anything from toolkit or third party). Since the results are paged, it is necessary to re-query the database if the columns are resorted, so the DataGrid has an EventToCommand binding to a RelayCommand that takes System.Windows.Controls.DataGridSortingEventArgs for an argument, and from this I'm able to fetch my sorted, paged results nicely.
The trouble is, despite working, the arrow bound to SortDirection in my column header just... disappears. I've tried binding to it and explicitly setting it via this binding (even hardcoding it to System.ComponentModel.ListSortDirection.Ascending), but nothing seems to work. No sort arrows. It's like the column header arrow is completely ignoring me!
I assume many have had an experience like this. Can anyone just point me in the right direction as to what's wrong?