How to make a multi-line SuperToolTip for a control?
(Views :1398)

Inorder to give multiple lines to the body of SuperToolTip,click on the comboBox for body, footer and header Text property from the property grid.A listBox will be shown where you can type the text and press enter key inorder to move to the next line.

C#
Syncfusion.Windows.Forms.Tools.ToolTipInfo toolTipInfo2 = new Syncfusion.Windows.Forms.Tools.ToolTipInfo();
this.textBox1.Location = new System.Drawing.Point(9, 112);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(142, 20);
this.textBox1.TabIndex = 5;
toolTipInfo2.Body.Text = "SuperToolTip can have mulitple\r\nlines of text\r\n\r\nUser can choose any color from \r" +"\nthe Color Dialog";
toolTipInfo2.Footer.Text = "Footer (Can be hidden using\r\n Hidden property)";
toolTipInfo2.Header.Text = "ToolTip Header";
this.superToolTip1.SetToolTip(this.textBox1, toolTipInfo2);
 
VB
Dim toolTipInfo2 As Syncfusion.Windows.Forms.Tools.ToolTipInfo = New Syncfusion.Windows.Forms.Tools.ToolTipInfo
Me.textBox1.Location = New System.Drawing.Point(9, 112)
Me.textBox1.Name = "textBox1"
Me.textBox1.Size = New System.Drawing.Size(142, 20)
Me.textBox1.TabIndex = 5
toolTipInfo2.Body.Text = "SuperToolTip can have mulitple" & Microsoft.VisualBasic.Chr(13) & "" & Microsoft.VisualBasic.Chr(10) & "lines of text" & Microsoft.VisualBasic.Chr(13) & "" & Microsoft.VisualBasic.Chr(10) & "" & Microsoft.VisualBasic.Chr(13) & "" & Microsoft.VisualBasic.Chr(10) & "User can choose any color from " & Microsoft.VisualBasic.Chr(13) & "" + "" & Microsoft.VisualBasic.Chr(10) & "the Color Dialog"
toolTipInfo2.Footer.Text = "Footer (Can be hidden using" & Microsoft.VisualBasic.Chr(13) & "" & Microsoft.VisualBasic.Chr(10) & " Hidden property)"
toolTipInfo2.Header.Text = "ToolTip Header"
Me.superToolTip1.SetToolTip(Me.textBox1, toolTipInfo2)
::adCenter::