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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Support for strike through?

Thread ID:





69308 Oct 23,2007 06:35 PM UTC Oct 24,2007 08:59 PM UTC WinForms 2
Tags: HTMLUIControl
Gang Zhang
Asked On October 23, 2007 06:35 PM UTC


Does the HtmlUIControl support the tags?

We are using Essential Studio and it does not appear to render those tags.


Ramu [Syncfusion]
Replied On October 24, 2007 08:14 PM UTC


Could you please create a DirectTrac incident in this regard since this is suspected to be a feature and we can discuss further on this issue.

Please specify the Forum Id in the subject line of the incident.

Thank you for your interest in Syncfusion products.

Best regards,

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


Thank you for your interest in Syncfusion Essential HTMLUI.

The HTMLUI control does not provide support for the tags: s, strike and del for now. But, these are reported to our developers as a feature request. We will update you once the support for these tags are implemented.

At the same time, the strike through functionality in the HTMLUI control can be achieved through the CSS - Text Decoration. With the help of this support, we can invoke this css in the code to support the s, strike and the del tags. Please refer the below code snippet that explains about how we can achieve the required behaviour through code.

using Syncfusion.Windows.Forms.HTMLUI;

IHTMLElement[] strike;
private void htmluiControl1_LoadFinished(object sender, System.EventArgs e)
//Get the elements with the tag name strike
this.strike = this.htmluiControl1.Document.GetElementsByName("strike");

foreach (IHTMLElement elem in strike)
//Apply the specific css setting
this.htmluiControl1.LoadCSSFromString("strike {text-decoration: line-through}");




Please try this and let me know if this helps.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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