.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditControlOptionsBase.ClipboardFormats Property

Gets the data formats currently available on the Clipboard.

Namespace: DevExpress.XtraRichEdit

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

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 manage format-specific clipboard operations.

The code sample below shows how to specify DataFormatOptions:

using (RichEditDocumentServer wordProcessor = new RichEditDocumentServer())
{
  DataFormatOptions richEditDataFormatOptions = wordProcessor.Options.ClipboardFormats;
  richEditDataFormatOptions.PlainText = RichEditClipboardMode.Disabled;
  richEditDataFormatOptions.Rtf = RichEditClipboardMode.CopyOnly;
  richEditDataFormatOptions.Html = RichEditClipboardMode.Enabled;
}
See Also