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
Protected Role property


I'm trying to convert a style I have for a System.Windows.Controls.MenuItem and there I have a trigger on the Role property of the item.

When trying to copy it to the XamMenuItem I discovered that the Role property on XamMenuItem is protected and therefore I can't use it for triggers...

Any workarounds?