Hi guys,
It seems that the ContextMenuOpening event for the Ribbon ContextMenu is not firing. I can reproduce this with a TreeView like this:
<TreeView>
<TreeView.ContextMenu>
<ribbon:ContextMenu ContextMenuOpening="ContextMenu_ContextMenuOpening">
<ribbon:Button Label="Test" />
</ribbon:ContextMenu>
</TreeView.ContextMenu>
</TreeView>
I need this to set the e.Handled to true in certain scenarios where I don't want to show the menu anyway. As far as I can tell, ContextMenuClosing is not fired either. Hope you can fix it :)