Changing ToolTip Backgrounds and Text color

Jan 21, 2013 at 8:36 PM

I cannot figure out how to change the TEXT color and background gradient of the tooltips that are generated.  

Can someone point me in the right direction?

Jan 21, 2013 at 10:55 PM

Hi with the themebuilder, you can easily change the color. open the demo form, there is a form called ThemeBuilder.

Open it, browse to bottom. the color of tooltip is define in

  • TooltipContentNorth
  • TooltipContentSouth
  • TooltipDarkBorder
  • TooltipLightBorder

After setting the color, you can either create a ThemeClass or ThemeFile in INI or XML format.

Tutorial on using ThemeClass: Documentation > How to Make a New Theme, Skin for this Ribbon Programmatically

Tutorial on using ThemeFile: Documentation >  How to Create and Load Theme File

Jan 21, 2013 at 11:15 PM

I am looking for a way to do it on the fly as the program is running.  without loading a new theme

or is a new theme all I can do?

Jan 21, 2013 at 11:35 PM

Then you can load the Theme Class programmatically. That's the easiest way and fastest way.

public class RibbonColorForToolTip : RibbonProfesionalRendererColorTable
    public RibbonColorForToolTip ()
        TooltipContentNorth = // your color
        TooltipContentSouth = // your color
        TooltipDarkBorder = // your color
        TooltipLightBorder = // your color

Then, at your ribbon main form:

(ribbon1.Renderer as RibbonProfessionalRenderer).ColorTable = new RibbonColorForToolTip();
Jan 22, 2013 at 1:20 AM

Thank you! Works!

Jan 22, 2013 at 8:32 PM


(Ribbon1.Renderer, RibbonProfessionalRenderer).ColorTable.ToolTipText = Color.Black

Working in VB, this is how I solved my issue I realize this is a really long route compared to what you showed me, but I wanted to post it in case anyone else wanted to know


Thanks for such a great control