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
60
Find the right-clicked row that caused a ContextMenu to open
posted

Hi.

We're using the XamDataGrid and are trying to add a context menu. When opening the context menu we need to know the DataContext of the underlying row (the one that were right-clicked, not necessarily the selected row). If possible we'd like to create the MenuItems programmatically, as well as the MenuItem's Command.

Thanks for any help!

Lars Andreas