Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataViewBase.CopySelectedRowsToClipboard() Method

In This Article
OBSOLETE

Use the CopySelectedItemsToClipboard() method instead

Copies the display values of selected rows to the clipboard.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#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