ClipboardOptions.ClipboardMode Property
Gets or sets whether data is copied to the Clipboard as plain text or along with its format settings (in RTF, HTML, XLS (Biff8), CSV, UnicodeText and Text formats).
Namespace: DevExpress.Export
Assembly: DevExpress.Data.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
ClipboardMode | Default | A ClipboardMode enumerator value that specifies whether or not data copied from the target control should be stored together with its format settings. |
Available values:
Name | Description |
---|---|
Default | Equal to the ClipboardMode.PlainText value. |
PlainText | Copied data is stored in Clipboard as simple plain text. |
Formatted | Data is copied to the Clipboard together with its format settings. |
Remarks
Set the ClipboardMode property to ClipboardMode.Formatted to allow data to be copied to the Clipboard along with format settings. In this mode, data is copied in the RTF, HTML, XLS (Biff8), CSV, UnicodeText and Text formats simultaneously. To disable one or several of these formats, use the following settings:
- ClipboardOptions.AllowExcelFormat
- ClipboardOptions.AllowHtmlFormat
- ClipboardOptions.AllowRtfFormat
- ClipboardOptions.AllowCsvFormat
- ClipboardOptions.AllowTxtFormat
See Clipboard - Copy and Paste Operations. Data Formatting to learn more.