In a previous post, I wanted to use Xaml icons in the application menu and the quick access toolbar. I ended up copying the entire default Infragistics control template:
<
ControlTemplate TargetType="{x:Type ButtonBase}" x:Key="RibbonButtonToolTemplate">
renamed it to ribbonButtonToolTemplateEx, and at the end of it I added
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{DynamicResource {x:Static igRibbon:RibbonBrushKeys .ToolDisabledForegroundTextFillKey}}" />
<Setter Property="Opacity" TargetName="image" Value="0.5" />
</Trigger
The QAT works fine now, but the opacity of the QAT buttons does not follow through to the Application menu - all those icons opacity remain at 1.0. How do I get the opacity to work the same for the QAT and the Application Menu, when IsEnabled=False?