Skip to main content Skip to footer

How to Prevent Custom Images from Disappearing With Themes Selection in C1Ribbon

This article describes how to prevent custom image icons in C1Ribbon from disappearing when a light or dark theme color is selected.

In some themes, the Ribbon icons are shown as monochrome to match the appearance of the theme. If you do not want this behavior, you can set the ShowAsMonochrome property of the C1BitmapIcon to Never. You can do this in code as shown below:

(ribbonButton1.IconSet[0] as C1.Framework.C1BitmapIcon).ShowAsMonochrome = ShowAsMonochrome.Never;

 

Or in the designer for the Bitmap, as shown in this screenshot:

Hunter Haaf