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

HTML tags and CSS properties supported

Thread ID:

Created:

Updated:

Platform:

Replies:

122106 Feb 17,2016 03:34 PM UTC Feb 19,2016 01:34 PM UTC Windows Forms 3
loading
Tags: SuperToolTip
Roman Sallin
Asked On February 17, 2016 03:34 PM UTC

Hi
What HTML tags and CSS properties are supported in SuperToolTip?

Best regards
Roman

Senthil Kumaran Rajan [Syncfusion]
Replied On February 18, 2016 07:10 AM UTC

Hi Roman,

Thanks for contacting Syncfusion Support.

The text formatting tags of the HTML and CSS are supported in SuperToolTip. Please make use of the below code example.

Text formatting such as below cases are supported.
  • Bold text
  • Important text
  • Italic text
  • Emphasized text
  • Marked text
  • Small text
  • Deleted text
  • Inserted text
  • Color

Code Example[HTML]:

Button1.Footer.Size = new System.Drawing.Size(200, 100);

Button1.Footer.RenderHtml = true;

Button1.Footer.Text = "<p>This text is normal.</p> " +

"<p>My favorite <ins>color</ins> is red.</p>";

this.superToolTip1.SetToolTip(this.buttonAdv1, Button1);



Code Example[CSS]

Button2.Footer.Size = new System.Drawing.Size(300, 200);

Button2.Footer.RenderHtml = true;

Button2.Footer.Text = "<!DOCTYPE html>" +

"<html>" +

"<head>" +

"<style>" +

"body {    color: blue; }" +

"h1 {    color: green;}" +

"</style>" +

"</head>" +

"<body>" +


"<h1>This is heading 1</h1>" +

"<p>This is an ordinary paragraph. Notice that this text is blue. The default text color for a page is defined in the body selector.</p>" +


"</body>" +

"</html>";

this.superToolTip1.SetToolTip(this.buttonAdv2, Button2);


We have prepared a sample for your reference and it can be downloaded from the below location.

Sample : http://www.syncfusion.com/downloads/support/forum/122106/ze/HTMLAndCSS-15246166

Also refer to the following screenshot.

HTML :


CSS :



Regards,
Senthil

Roman Sallin
Replied On February 18, 2016 07:34 AM UTC

Hi Senthil

Thank you for the sample which is useful. Do you have a complete list of all HTML tags and CSS proporties that SuperToolTip supports? I suppose that not everything from HTML5 and CSS3 can be used with SuperToolTip, but rather a subset of it. I did not found such a list in the online documention.

Best regards
Roman

Senthil Kumaran Rajan [Syncfusion]
Replied On February 19, 2016 01:34 PM UTC

Hi Roman,

Thank you for your update.

As we have mentioned on our previous update, the Text formatting tags of the HTML and CSS files are supported in SuperToolTip. We have notified this to our documentation team and it will be published at the earliest.

Regards,
Senthil

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.

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

;