SuperToolTip design parameters

I'm using the SuperToolTip component and want to habe the same look and feel and behaviour for all the STTs in my application. So what I did is, I created a new component class like that:

public partial class MyToolTip : Syncfusion.Windows.Forms.Tools.SuperToolTip

Now I can define all the behaviour parameters like duration, etc. in that new class. But what I can't do is to define the look and feel of the STT because the look and feel is defined for each instance of the control.

Any idea how to define a general look and feel?

Thany you for your help

PS: I'm using 5.1.1.0

1 Reply

RF Rashidha F Syncfusion Team June 25, 2007 12:46 PM UTC

Hi Christoph,

Thanks for using Syncfusion Products.

Please have a look at the following code snippet.

MyToolTip tooltip1 = new MyToolTip();
tooltip1.UseFading = Syncfusion.Windows.Forms.Tools.SuperToolTip.FadingType.Blend;
Syncfusion.Windows.Forms.Tools.ToolTipInfo x=new Syncfusion.Windows.Forms.Tools.ToolTipInfo();
x.Body.Text = "Supertooltip";
Point point=new Point(10,10);
x.BackColor = Color.Orange;
x.BorderColor = Color.Blue;
tooltip1.Show(x, point, 2000);
x.Header.Text = "Essential Tools";
x.Footer.Text = "-Tooltip";
x.Header.Font=new Font("Impact",8);
x.Header.ForeColor = Color.Green;
x.Separator = true;

The following code snippet which illustrate how to customize the tooltip in your application.

Please let me know if you have any more queries.

Regards,
Rashidha.

Loader.
Up arrow icon