Click here to Skip to main content
15,888,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a WPF listview, on its header click the data are arranged in ascending or descending order. I have to change icons showing the ascending and descending order of the data in a particular column.

I want to change Listview header icons on Each Header Click
Posted
Updated 9-Jun-14 0:59am
v2

1 solution

 
Share this answer
 
Comments
Member 10605096 9-Jun-14 7:25am    
My problem is not arranging the content in Asc/Dsc order but want to change the icons on each header click to denote its order.
Vincent Beek 9-Jun-14 11:05am    
I think the offered solution is showing a little triangle in the header to show the sort order. Or are you talking about something else?
Member 10605096 12-Jun-14 2:54am    
yes showing an image to denote the order. I am developing a windows based system with WPF and using C#. so I find difficulty to change the arrow images on the listview header click. I cant access the image by its name.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900