views:

118

answers:

1

Can anyone give me a hint how to add ContextMenu to Data Grid Column Header in XAML?

Any pointers are highly appreciated.

A: 

Have a look at the demo code in this open source project on Codeplex:

http://sl4popupmenu.codeplex.com/

It can help you do that in just a few lines of code.

Ziad