c# - How can I add a listView column header a click event programmatically -


i building dynamic listview , trying achieve same thing in picture bellow.

enter image description here

how can programmatically. have tried:
enter image description here

probably this:

listview.addhandler(gridviewcolumnheader.clickevent, new routedeventhandler(header_click)); 

Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -

c# - Binding attached property to IEnumerable -