Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1285
Create common context menu in WPF
posted

This is more of a general WPF question than your controls, I tried posting on Expert Exchange and Stack Overflow without any success.  So I thought you might be able to help.

n my app I have many grids (Infragistics). I would like to create a context menu that will implement many of the common functions ie: delete, save layout, etc. and if a specific grid needs more than the common functions be able to add to the menu for that grid. I would like to create one context menu and not have to repeat the same code throughout project.

I have no idea on how to accomplish this. Possible? Example xaml and/or code will be helpful.

Thanks a bunch,

Rick