I'm not so great with WPF, so I am looking at a WPF control that someone else has created which has a datacontext set to another class, but also has tons of code in the code-behind on the actual control.
I need to create a context menu command that binds to a method inside of the code behind, not the actual datacontext of the control. I know how to create the context menu, just looking for how to bind to code behind when using another datacontext on the control.
Thanks!