Browse by Tags

All Tags » Family.Show (RSS)

Sorting the standard ListView control

I've added an example of how to bind to a ListView control in my binding presentation . While implementing this, it occurred to me that a common scenario would require to be able to sort a column by clicking on the header! While this is a common requirement, ListView doesn't support this by default. There is no event in the ListView class that traps events when the user clicked on the header! Well, this can easily be fixed by using routed events. To add a handler for when the user clicks...
Posted by rudi | 1 comment(s)
Filed under: ,