VGridControlBase.CopyToClipboard() Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public virtual void CopyToClipboard()
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