Skip to main content

DataControlBase.CopySelectedItemsToClipboard() Method

Copies the display values of selected rows to the clipboard.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

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 Management.

See Also