WPF Datagrid Sorting/ Add Sort direction image to column header
Posted on 2009-05-12
I have just recently started working with the microsoft WPF datagrid. I am trying to implement sorting on the grid. I have enabled CanUserSortColumn so sorting is enabled but I cant seem to add images to the column header showing the sort direction? Can someone tell me how to do this and give me a code example. Which event would I check the sort direction after its sorted for adding the image. I have not been able to come across a lot of information regarding sorting with the WPF grid. Your helps appreciated!!