DataControlBase.CopyToClipboard() Method
Copies the values displayed within selected row(s) or cell(s) to the clipboard.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
#Remarks
The CopyToClipboard method copies the selected rows or cells to the clipboard. Only the contents of the visible columns are copied. For group rows, this method copies only the values of the grouping columns. Records hidden within the collapsed group rows aren’t included. Records in the clipboard are separated by the newline strings (“\r\n”). The TAB character (“\t”) is used to separate the values within a record.
The focused row (if displayed) is always copied, regardless of its selected state.
To learn more, see Clipboard Management.