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

DataControlBase.CopySelectedItemsToClipboard() Method

Copies the display values of selected rows to the clipboard.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, 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