Solved

WPF Datagrid Sorting/ Add Sort direction image to column header

Posted on 2009-05-12
2
4,550 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
rendaduiyan earned 250 total points
ID: 24372201
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
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…

691 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