Silverlight 4: How do I add a context menu to a DatagridColumnHeader?

Can anyone give me a hint how to add a ContextMenu to the column header of the data grid in XAML?

Any pointers are much appreciated.

+2


a source to share


1 answer


Check out the demo code in this open source project at Codeplex:

http://sl4popupmenu.codeplex.com/



It can help you do this with just a few lines of code.

0


a source







All Articles