Improve company productivity with a Business Account.Sign Up

x
?
Solved

WPF Datagrid Sorting/ Add Sort direction image to column header

Posted on 2009-05-12
2
Medium Priority
?
4,699 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
1 Comment
 
LVL 5

Accepted Solution

by:
rendaduiyan earned 1000 total points
ID: 24372201
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

605 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