Skip to main content

RichEditControlOptionsBase.ClipboardFormats Property

Gets the data formats currently available on the Clipboard.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public DataFormatOptions ClipboardFormats { get; }

Property Value

Type Description
DataFormatOptions

A DataFormatOptions object.

Property Paths

You can access this nested property as listed below:

Object Type Path to ClipboardFormats
IRichEditDocumentServer
.Options .ClipboardFormats
RichEditDocumentServer
.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