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.
Unfortunately, activation email could not send to your email. Please try again.

Customise Font inside ToolTip

Thread ID:

Created:

Updated:

Platform:

Replies:

69133 Oct 16,2007 07:06 AM Oct 30,2007 12:23 PM Windows Forms 2
loading
Tags: Tools
yeshwant
Asked On October 16, 2007 07:06 AM

Is there any way in which we can customise font of ToolTip Text?

Thanks
Yeshwant

Nandakumar R [Syncfusion]
Replied On October 24, 2007 08:21 PM

Hi Yeshwant,

I regret for the delay in getting back to you on this.

We consider that you are using the Syncfusion - Super ToolTip. Please refer the below code snippet to set the font of the ToolTip text through code.


[C#]
Syncfusion.Windows.Forms.Tools.ToolTipInfo toolTipInfothroughCode = new Syncfusion.Windows.Forms.Tools.ToolTipInfo();
toolTipInfothroughCode.Header.Font = new System.Drawing.Font("Calibri", 10F,System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
toolTipInfothroughCode.Body.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Strikeout, System.Drawing.GraphicsUnit.Point, ((byte)(0)));


Please try this and let me know if this helps.

http://websamples.syncfusion.com/samples/Tools.Windows/F69133/main.htm

Thank you for your patience.

Regards,
Nanda

Robee
Replied On October 30, 2007 12:23 PM

Hi Nanda

For the first time u have replied in a tools forum.. Do u know so much in tools?? great to see..
I thought u know to reply only in General forums..
anyway thanks..

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;