Skip to main content

HtmlCorrectingEventArgs.Html Property

Gets or sets the HTML markup representing the HtmlCorrectingEventArgs‘s content.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public string Html { get; set; }

Property Value

Type Description
String

A string value representing the editor’s HTML markup.

Remarks

Use the Html property to obtain or define the HTML code that represents the HtmlCorrectingEventArgs‘s content.

If you provide a custom HTML markup correcting operation, you should process the markup obtained via the Html property, assign the resulting markup back to this property, and set the HtmlCorrectingEventArgs.Handled property to true, to avoid the default markup correction implemented via the ASPxHtmlEditor.CorrectHtml method.

<dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" OnHtmlCorrecting="ASPxHtmlEditor1_HtmlCorrecting" runat="server">
...
</dx:ASPxHtmlEditor>
See Also