We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the ForeColor/BackColor of the SuperToolTip?

Platform: WinForms |
Control: SuperToolTip

To set the BackColor and ForeColor, you need to assign the appropriate colors to the ToolTip by using the ToolTipInfo object.


Refer to the following code examples.


//Initializes the SuperToolTip
private Syncfusion.Windows.Forms.Tools.SuperToolTip superToolTip1 = new Syncfusion.Windows.Forms.Tools.SuperToolTip();
//Initializes the ToolTipInfo
private Syncfusion.Windows.Forms.Tools.ToolTipInfo toolTipInfo = new Syncfusion.Windows.Forms.Tools.ToolTipInfo();
//Tool sets the SuperToolTip text
toolTipInfo.Body.Text = "Syncfusion SuperToolTip";
//Specifies the back color of the SuperToolTip
toolTipInfo.BackColor = System.Drawing.Color.DarkOliveGreen;
//Specifies the forecolor of the SuperToolTip
toolTipInfo.ForeColor = System.Drawing.Color.Aquamarine;
//Assigns the SuperToolTip for buttonAdv1
this.superToolTip1.SetToolTip(this.buttonAdv1, toolTipInfo);



'Initializes the SuperToolTip
Private superToolTip1 As New Syncfusion.Windows.Forms.Tools.SuperToolTip()
'Initializes the ToolTipInfo
Private toolTipInfo As New Syncfusion.Windows.Forms.Tools.ToolTipInfo()
'Tool sets the SuperToolTip text
toolTipInfo.Body.Text = "Syncfusion SuperToolTip"
'Specifies the back color of the SuperToolTip
toolTipInfo.BackColor = System.Drawing.Color.DarkOliveGreen
'Specifies the forecolor of the SuperToolTip
toolTipInfo.ForeColor = System.Drawing.Color.Aquamarine
'Assigns the SuperToolTip for buttonAdv1
Me.superToolTip1.SetToolTip(Me.buttonAdv1, toolTipInfo)


supertooltip with customized back and forecolor

Figure 1: SuperToolTip with DarkOliveGreen back color.

supertooltip with customized backcolor

Figure 2: SuperToolTip with different backcolor.

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile