I have an issue styling XamRibbon Control. In particular, many of the XamRibbon Control Parts can't be visually styled in Blend, throwing a null reference exception (one of them is RibbonGroupControl).
I want to change RibbonGroupControl's glow effect colors, and the group seperator colors, but changing the brushes are not applied, as shown below...
Any suggestions?
Regards,
Michael
Hello Michael,
I apologize for the delayed response. I have brought this up to the development team. At the moment, there is no way to change the brush unless you are doing this from the ControlTemplate of the RibbonGroupControl. This styling change has to be done from the control's template in the xaml.
I will update this thread when I have more information on this issue.
Hi Alex,
I have already extracted the style for RibbonGroupControl into resources.
The issue is that the ribbon group created at runtime does not get the global style from resources(the one without a key).
If for a specific group in the ribbon i apply a keyed style for RibbonGroupControl it works. It seems like a bug.
Also you cannot design the style in Blend, unless you remark the
<ig:VerticalRibbonToolWrapPanel x:Name="ToolsPanelNormal" Margin="3,0" Grid.ColumnSpan="2"/>
definition in the default style.