Hello,
Please consider an OnHide event for the ContextMenu. Here is a scenario - the target's styles change when the Menu opens. There is no reliable built-in event that one can use to revert the styles back. The user can click on a Menu item, but they can also click somewhere else or hit Escape.
Currently, a possible workaround is to listen for clicks and keypresses on the document with JavaScript: