Reputation: 36050
I am building a dynamic listview and I am trying to achieve the same thing as in the picture bellow.
How can I do that programmatically. I have tried:
Upvotes: 1
Views: 2786
Reputation: 185225
Probably this:
listView.AddHandler(GridViewColumnHeader.ClickEvent, new RoutedEventHandler(Header_Click));
Upvotes: 2