Skip to main content
A newer version of this page is available. .

ContentToHtmlConverter Class

A Content-to-HTML converter associated with a binding.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v18.2.dll

Declaration

[ValueConversion(typeof(RichEditDocumentContent), typeof(string))]
public class ContentToHtmlConverter :
    ContentToSpecificFormatConverter

Remarks

Implements the IValueConverter interface and allows conversion from the control’s content to HTML format.

Uses the RichEditControl.HtmlText property to obtain content in HTML format.

See the ContentToPlainTextConverter topic for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ContentToHtmlConverter class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also