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

DXRichEditDataFormatOptions.AllowHtml Property

Gets or sets whether the copied document range is available for pasting in HTML format.

Namespace: DevExpress.Xpf.RichEdit

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

Declaration

public bool AllowHtml { get; set; }

Property Value

Type Description
Boolean

true, to allow HTML format for the content copied to the Clipboard; otherwise, false.

The default is false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowHtml
RichEditControl

Remarks

To allow HTML content in the Clipboard, set the AllowHtml property to true.

Certain applications require pasting with HTML format for inserting images. Use the DXRichEditDataFormatOptions.HtmlImageSourceType property to specify whether images are encoded and embedded in HTML markup or extracted as files to the DXRichEditDataFormatOptions.HtmlImagePath location.

See Also