A newer version of this page is available. Switch to the current version.

DataViewBase.CopySelectedRowsToClipboard() Method

Obsolete. Copies the display values of selected rows to the clipboard.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll


[Obsolete("Use the DataControlBase.CopySelectedItemsToClipboard method instead")]
public void CopySelectedRowsToClipboard()
<Obsolete("Use the DataControlBase.CopySelectedItemsToClipboard method instead")>
Public Sub CopySelectedRowsToClipboard


If the DataControlBase.ClipboardCopyMode property is not set to ClipboardCopyMode.None, the CopySelectedRowsToClipboard method copies the display values of selected rows to the clipboard. End-users can do this using Ctrl+C or Ctrl+Ins.

To copy cell values with column captions, set the DataControlBase.ClipboardCopyMode property to ClipboardCopyMode.IncludeHeader .

To learn more, see Clipboard Management.

See Also