Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

RichEditControlOptionsBase.ClipboardFormats Property

Gets the data formats currently available on the Clipboard.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

public DataFormatOptions ClipboardFormats { get; }

Property Value

Type Description
DataFormatOptions

A DataFormatOptions object.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ClipboardFormats
WinForms Controls SnapControl
.Options .ClipboardFormats
RichEditControl
.Options .ClipboardFormats
WPF Controls RichEditControl
.Options .ClipboardFormats
Office File API IRichEditDocumentServer
.Options .ClipboardFormats
RichEditDocumentServer
.Options .ClipboardFormats
Reporting SyntaxEditor
.Options .ClipboardFormats

Remarks

Use this property to specify the formats of data the RichEditControl can copy to the Clipboard and prohibit pasting data in a specific format from the Clipboard.

The code sample below shows how to specify DataFormatOptions:

DataFormatOptions dataFormatOptions =
 richEditControl.Options.ClipboardFormats;
dataFormatOptions.AllowImage = false;
dataFormatOptions.AllowPlainText = false;
dataFormatOptions.AllowHtml = false;
See Also