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
450
Issue with command activation in MVVM project
posted

We have a strange issue with command bindings on a XamMenuItem withing our MVVM project. If "StaysOpenOnClick" is set to false, the command bound to the item isn't activated. If it's set to true, it works. We've attached a small sample project that demonstrates the issue (only "ZoomInCommand" fires). We could of course manually close the menu, but that seems pointless if there is an attribute that should do the same thing. Is this an error on our side?

Thanks

TestXamContextMenu.zip