Skip to main content

RtfContentPastingProcessedEventArgs.Html Property

Gets or sets the HTML content obtained from the processed RTF 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 specifying the processed HTML.

Remarks

Use the Html property to obtain and modify the HTML content from the copied/cut RTF content on the server side. The HTML content is processed according to the ASPxHtmlEditor.SettingsHtmlEditing property.

protected void ASPxHtmlEditor1_RtfContentPastingProcessed(object sender, RtfContentPastingProcessedEventArgs e) {
    e.Html = string.Format("<div class='rtf-container'>{0}</div>", e.Html);
}
See Also