All ribbon buttons inherit their context menu from the ribbon. Is there a way to stop this?
I have a ribbon button in the popup content of a popup button on a ribbon. When I right click the button, I get the option to minimize the ribbon. This makes no since when I'm using the ribbon. I tried
but this did no good.
Is there a way to override the button's context menu?