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
1255
Theme mismatch on RibbonGroups added programatically
posted

I have a XamRibbon that has several static RibbonGroups on a Tab. On the same tab, at runtime I add several other ribbon groups with dynamic content. When I do not use the Theme property of the XamRibbon there is no problem. If I set the Theme property in xaml for the XamRibbon, the static RibbonGroups have the correct styling. The dynamically added RibbonGroups do not.

I don't see any properties on the RibbonGroup for Theme that I can set before I add these items at runtime. Is there a specific Style Key that I can use to set the RibbonGroup to look like the other RibbonGroups? I am using a custom style for RibbonGroup and the controls contained in it. Do I need to have these Styles BasedOn a specific Infragistics Style depending on the theme selected for the ribbon?

Specifically I am testing using the "Metro" style on my XamRibbon and have discovered this issue.

Thanks in advance!