C1Ribbon Style

Posted by: patrick.muellner on 10 January 2025, 3:36 am EST

  • Posted 10 January 2025, 3:36 am EST - Updated 10 January 2025, 3:41 am EST

    Hi,

    I wanted to ask how it’s possible to set the background of the C1Ribbon to white, as shown in the sample from your ControlExplorer (see attached picture).

    In our application, I’ve set the style as follows:

    MainRibbon.RibbonStyle.Refresh(ThemeColor.Blue, ThemeLightness.White, true);

    However, the results don’t seem to match the example. You can also see this in the attached screenshots of our application.

    Ribbon - .NET 4.8

    Thanks

    Regards Patrick

  • Posted 10 January 2025, 6:33 am EST

    Hello Patrick,

    In the product sample, the Office365 C1Theme is applied, which overrides the visual style settings. This is why simply setting the RibbonStyle property does not produce a similar ribbon appearance.

    We created a simple sample implementing it; please refer to the attached sample. (see Ribbon_Style.zip)

    Regards,

    Uttkarsh.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels