Hello,
In our XamRibbon we use the Office2013 theme. We've also recently (re)enabled our quick access toolbar (QAT). However, the font of the elements, until hover, is white-on-white background making them unreadable. We set some of the keys for the main ribbon colors to match the program color scheme, but how would we go about hard-defining these submenu item's foreground colors? There has been no luck in a style override of foreground or additional resources with the tags.
Might you have sample code for your workaround? I'm having a very similar problem. Thanks for any help you can provide.
Yes, I get that - that's how the primary colors are changed in the first place. My question was about keeping the main ribbon's overrides correct while adjusting them in the QAT to different presets.
I eventually found a workaround to this problem. I had to explicitly create a QAT in the XAML, and then in that QAT's resources I was able to re-redefine the style colors using those keys.
Hello Collin, Thank you for modifying the sample from my initial reply. The color changes are expected since the default Brushes have been overridden with the ones you have defined in the Ribbon's Resources. By modifying the following brushes, you should be able to set a fill color for the QAT common tools both by default and when hovered: <SolidColorBrush x:Key="{x:Static igRibbon:RibbonBrushKeys.ToolEnabledForegroundTextFillKey}"Color="Yellow" />
<SolidColorBrush x:Key="{x:Static igRibbon:RibbonBrushKeys.TextHottrackFillKey}"Color="Red" /> If you require any further assistance on the matter, please let me know.
Hello Tacho,
I've updated your sample to show how it's changing the colors. It should be close enough to prove what's going on and how colors are changing. Please let me know if anything else is needed.
Hello Collin, Thank you for the screenshot you have provided. I have not been able to reproduce the QAT dropdown items' FontColor issue as you have shown in the image you have uploaded. It seems that you have used some additional styling for the XamRibbon in your application, so I am not able to test for the issue based on this. I have attached an image from the sample application from my previous reply, where the issue is not reproduced. Would you please modify the sample according to your functionality and send it back to me? Having this will help me further investigate this matter for you. Looking forward to hearing from you.