Skip to main content

DataControlBase.CopySelectedItemsToClipboard() Method

In This Article

Copies the display values of selected rows to the clipboard.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

public void CopySelectedItemsToClipboard()

#Remarks

If the DataViewBase.ClipboardCopyAllowed property is set to true, the CopySelectedItemsToClipboard 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, enable the DataViewBase.ClipboardCopyWithHeaders option.

To learn more, see Clipboard Operations.

See Also