Solved

WPF Datagrid Sorting/ Add Sort direction image to column header

Posted on 2009-05-12
2
4,494 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
ID: 24372201
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

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…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

813 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

10 Experts available now in Live!

Get 1:1 Help Now