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.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(ClipboardCopyFormats.All)]
public ClipboardCopyFormats ClipboardCopyFormats { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Clipboard |
@DevExpress. |
File formats in which the Grid |
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.