![Avatar](https://secure.gravatar.com/avatar/557616c7b16ea3ba9fc2f1ae3e5c2643.jpg?s=64&d=identicon&r=g)
Hi
We have some context menus and ribbon tabs with the same commands. In some scenarios we wish to strike through the text of the menuitem/button of a command in addition to disabling it through CanExecute. This is to indicate that a command is not available due to missing license or something similar.
I have been able to change the button template for Context=MenuItem, however I have not been able to change it for VariantSize large in ribbon tab context. How can I get this to work on the TwoLineLabel which the default style uses?
Bjørnar Sundsbø
We have some context menus and ribbon tabs with the same commands. In some scenarios we wish to strike through the text of the menuitem/button of a command in addition to disabling it through CanExecute. This is to indicate that a command is not available due to missing license or something similar.
I have been able to change the button template for Context=MenuItem, however I have not been able to change it for VariantSize large in ribbon tab context. How can I get this to work on the TwoLineLabel which the default style uses?
Bjørnar Sundsbø
Bjørnar Sundsbø