Solved

WPF Datagrid Sorting/ Add Sort direction image to column header

Posted on 2009-05-12
2
4,471 Views
Last Modified: 2013-11-12
Hi,
    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!!
0
Comment
Question by:groovbox303
2 Comments
 
LVL 5

Accepted Solution

by:
rendaduiyan earned 250 total points
Comment Utility
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now