FlexViwer Ribbon BackColor

Posted by: Charles.Jimenez on 10 October 2018, 2:25 am EST

    • Post Options:
    • Link

    Posted 10 October 2018, 2:25 am EST

    Hi,

    I am having trouble locating the property that controls the backcolor of the Flexviewer ribbon which sits at the top, containing the panes for View, Navigation, Zoom, etc.

    It defaults to what looks like the system color for ‘Control’ but that color does not go well with the rest of the colors in my application.

    How can I change it?

    Thank you,

    Charlie

  • Posted 10 October 2018, 4:47 pm EST

    Hello Charlie,

    Though you cannot directly set the BackColor property of the C1FlexViewer ribbon, you can perform the same functionality using VisualStyle (http://help.grapecity.com/componentone/NetHelp/c1ribbon/webframe.html#visualstyles.html) or themes.

    You can set the VisualStyle property of the ribbon as follows:

            C1FlexViewer1.Ribbon.VisualStyle = C1.Win.C1Ribbon.VisualStyle.Office2010Silver
    
    

    Further, a theme can be used with the help of C1ThemeController. Please refer the below mentioned documentation link to set themes to existing controls on the form:

    http://help.grapecity.com/componentone/NetHelp/c1themes/webframe.html#QSApplyingBuiltInThemetoApp.html

    Best Regards,

    Esha

  • Posted 11 October 2018, 2:50 am EST

    OK, Thank you, Esha.

    Charlie

Need extra support?

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

Learn More

Forum Channels