A newer version of this page is available. Switch to the current version.

ContentToRtfConverter Class

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

Namespace: DevExpress.Xpf.RichEdit

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

Declaration

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

Remarks

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

See the ContentToPlainTextConverter topic for more information.

Tip

A complete sample project is available in the DevExpress Code Examples database at https://supportcenter.devexpress.com/ticket/details/e4002/how-to-bind-richeditcontrol-to-a-text-in-different-formats.

Inheritance

See Also