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

DataViewBase.CopySelectedRowsToClipboard() Method

OBSOLETE

Use the CopySelectedItemsToClipboard() method instead

Copies the display values of selected rows to the clipboard.

Namespace: DevExpress.Xpf.Grid

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

Declaration

[Obsolete("Use the DataControlBase.CopySelectedItemsToClipboard method instead")]
[Browsable(false)]
public void CopySelectedRowsToClipboard()

Remarks

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