Skip to main content

ContentToPlainTextConverter Class

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

Namespace: DevExpress.Xpf.RichEdit

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

#Declaration

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

#Remarks

Implements the IValueConverter interface and allows conversion from the control's content to plain text format.

The code in this example uses the ContentToPlainTextConverter class to bind a standard TextControl to the RichEditControl.

A BarManager component is added, to enable the hover menu feature of the RichEditControl.

#Inheritance

Object
ContentToSpecificFormatConverter
ContentToPlainTextConverter
See Also