Listview sorting ….


One handy feture to have when working with a listview is sorting…. WPF supports sorting by using ICollectionView SortDescription (When the ItemsSource of your listview is an IList you can use the CustomSort for even better performance)

Yet the listview control does not have inbuilt support for sorting, so I decided to make this functionality once and reusable…

Download Source + Demo here…. 

If you need any help or maybe if you do not understand clearly how to use this new feature that I have included please submit a comment on the blog or send me an email at….


5 thoughts on “Listview sorting ….

  1. Hey Marlon,
    I didn’t know if you were going to join the project, but I see that you mentioned it here. Send me an email.

    Also, I’ve blogged about using attached properties to sort a ListView on Brownie Points. I’m a little too lazy to get the direct link for you.


  2. “yea I know… yet it is really stupid and boring to see this happening… after all we do this to help people we are not getting much back… ”
    I just want to make it clear that the WPF Disciples are appreciated. The thing is that most developers act in the dark, not replying or thanking for your insight, but please remember this, they are depending and thrive on your articles and blogs… Keep up the good work lads!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s