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
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 |
|
RichEditDocumentServer |
|
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