C1Ribbon: monochrome icons in QAT

Posted by: wknauf on 22 December 2021, 11:27 am EST

  • Posted 22 December 2021, 11:27 am EST - Updated 3 October 2022, 10:36 pm EST

    Hi C1,

    we noticed that ribbon icons are rendered monochrome when added to the QAT.

    As there was a bug in .520 recently (https://www.grapecity.com/forums/winforms-edition/crash-during-closing#philippe-thanks-for-postin), I am not sure whether this is the intended behavior or a not fully fixed part of this issue.

    Attached sample reproduces this - the sample sets a theme, but it will also happen without themes.

    Best regards

    Wolfgang

    C1RibbonMonochromeIcons.zip

  • Posted 23 December 2021, 6:20 am EST

    Hi,

    We are getting in touch with the concerned team to get confirmation on this. We will let you know as soon as we get an update.

    Regards

    Avnish

    [C1WIN-26413]

  • Posted 23 December 2021, 11:58 pm EST - Updated 3 October 2022, 10:36 pm EST

    Hi,

    As per the development team, It’s by design. C1Ribbon has the MS office 2019-2020 theme by default, this theme has a colored header for ribbon and monochrome icons for QAT.

    C1Icon has the ShowAsMonochrome property, you can set this property to Never if you want to show the icons with color in QAT. Please refer to the snippet below:

    this.ribbonButton3.IconSet.Add(new C1BitmapIcon("k16", new Size(16, 16), Color.Transparent, Properties.Resources.bullet_ball_glass_green_16) { ShowAsMonochrome = ShowAsMonochrome.Never});
          this.ribbonButton3.IconSet.Add(new C1BitmapIcon("k32", new Size(32, 32), Color.Transparent, Properties.Resources.bullet_ball_glass_green_32) { ShowAsMonochrome = ShowAsMonochrome.Never });
    

    Regards

    Avnish

  • Posted 24 December 2021, 3:33 am EST

    Thanks, I can confirm that it works now. Well, this would mean to reactive the workaround that I had for the bug with monochrome buttons in build .520.

    But you are right - “ShowAsMonochrome = Never” would break the “Office2016Black” theme. So, probably I will stay with the monochrome icons.

    About the “Office2016Black” theme: recent Office 365 has monochrome icons in the QAT in all color themes, but it has colorful icons in the ribbon also for “Dark” theme. So, maybe you should add a theme “Office2019Black”?

    Best regards

    Wolfgang

  • Posted 28 December 2021, 3:07 am EST

    Hi,

    We have posted a feature request on your behalf to the development team and will let you know when we have an update.

    [Internal Tracking ID: C1WIN-26431]

    Regards

    Avnish

  • Posted 16 March 2022, 7:07 am EST

    Hi,

    could you add an option to the QAT where I can opt out from the monochrome appearance of the icons in the QAT? More and more of our customers are complaining about the “new look”.

    Another possibility would be a property in the Themes, so that I could customize this behaviour depending on the selected Theme (e.g. dark theme in monochrome, light themes in color).

    Kind regards

    Juergen

  • Posted 17 March 2022, 4:00 am EST

    Hi Juergen,

    just for your information - did you see the workaround that I posted in https://www.grapecity.com/forums/winforms-edition/crash-during-closing#philippe-thanks-for-postin? (if the link does not jump to the correct topic, search for “RibbonIconItem.ShowAsMonochrome”).

    Best regards

    Wolfgang

  • Posted 17 March 2022, 7:35 am EST

    Hi Juergen,

    We have sent an enhancement request to the development team on your behalf. We will let you know as soon as we have an update.

    Best Regards,

    Kartik

    [Internal Tracking Id - C1WIN-27008]

  • Posted 17 March 2022, 12:22 pm EST

    Hi Wolfgang,

    thanks for pointing me to that direction. I’ll use this as a workaround and hope for an integrated solution in the future.

    Kind regards,

    Juergen

Need extra support?

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

Learn More

Forum Channels