Customise Font inside ToolTip

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

Thanks
Yeshwant

2 Replies

NR Nandakumar R Syncfusion Team October 25, 2007 12:21 AM UTC

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


RO Robee October 30, 2007 04:23 PM UTC

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..

Loader.
Up arrow icon