Skip to main content

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

[DefaultValue(ClipboardMode.Default)]
public ClipboardMode ClipboardMode { get; set; }

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:

See Clipboard - Copy and Paste Operations. Data Formatting to learn more.

See Also