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

DXRichEditRtfDocumentExporterCompatibilityOptions.BackColorExportMode Property

Gets or sets tags which represents the BackColor attribute in a resulting RTF document. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

public RtfRunBackColorExportMode BackColorExportMode { get; set; }

Property Value

Type Description
RtfRunBackColorExportMode

A RtfRunBackColorExportMode enumeration value specifying the tag used to export the BackColor attribute.

Property Paths

You can access this nested property as listed below:

Object Type Path to BackColorExportMode
DXRichEditRtfDocumentExporterOptions
.CompatibilityOptions .BackColorExportMode

Remarks

Use this property to write the \chcbpat instead of \highlight attribute when exporting to RTF. The option provides compatibility with Microsoft Wordpad and MS RichTextBox controls which do not support the \highlight attribute.

See Also