ContentToRtfConverter Class
A Content-to-RTF converter associated with a binding.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit
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
Object
ContentToSpecificFormatConverter
ContentToRtfConverter
See Also