RtfContentPastingProcessedEventArgs.Html Property

Gets or sets the HTML content obtained from the processed RTF content.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v20.1.dll

Declaration

public string Html { get; set; }
Public Property Html As String

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