Click here to Skip to main content
15,880,967 members
Please Sign up or sign in to vote.
2.75/5 (3 votes)
See more:
I have a dynamically generated datagrid in a complex scenario and all is well except I've hit a wall trying to figure out how to add buttons to the right of the column header text so that I can implement a popup filtering dialog.

In searching I've found plenty of examples of this kind of thing in XAML but this has to be done in code behind unfortunately.

Any pointers appreciated.
Posted
61.7K

1 solution

Please have a look at article @ http://www.redmondpie.com/dynamic-controls-creation-in-a-c-wpf-application-part-2/[^]

Hope that helps you, good luck.
 
Share this answer
 
Comments
Member 96 2-Jun-11 23:43pm    
Thank you Amit for your assistance.
Wild-Programmer 3-Jun-11 0:42am    
My pleasure :)

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