Skip to main content
A newer version of this page is available. .

DataControlBase.ClipboardCopyFormats Property

Gets or sets file formats in which the GridControl copies its data to the clipboard. This is a dependency property.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(ClipboardCopyFormats.All)]
public ClipboardCopyFormats ClipboardCopyFormats { get; set; }

Property Value

Type Default Description
ClipboardCopyFormats @DevExpress.WinUI.Grid.ClipboardCopyFormats.All

File formats in which the GridControl copies its data to the clipboard.

Available values:

Name Description
Csv

Data is copied to the clipboard in CSV format.

Excel

Data is copied to the clipboard in Excel formats (XLS/XLSX).

Html

Data is copied to the clipboard in HTML format.

Rtf

Data is copied to the clipboard in RTF format.

Txt

Data is copied to the clipboard in TXT format.

All

Data is copied to the clipboard in CSV, XLS (BIFF8), HTML, RTF, and TXT formats.

Remarks

The ClipboardCopyFormats property allows you to reduce the number of clipboard formats and improve the copy operation’s performance.

If the ClipboardCopyFormats property contains the Txt value, you can paste data as plain text in applications whose formats are not listed in the ClipboardCopyFormats enumeration.

See Also