Back to Devexpress

VGridControlBase.CopyToClipboard() Method

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-56e53643.md

latest1.9 KB
Original Source

VGridControlBase.CopyToClipboard() Method

Copies the focused cell or selection to the Clipboard as text.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
public virtual void CopyToClipboard()
vb
Public Overridable Sub CopyToClipboard

Remarks

The CopyToClipboard method copies the focused cell or selection (see VGridOptionsSelectionAndFocus.MultiSelect) to the Clipboard as text. If the VGridOptionsBehavior.CopyToClipboardWithRowHeaders option is enabled, the CopyToClipboard method also copies the row’s caption to the Clipboard.

The CopyToClipboard method is automatically called when the CTRL+C shortcut is pressed while a control is focused.

See Also

FocusedRow

CopyToClipboardWithRowHeaders

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace