Copies the values displayed within the specified range of rows/cards, to the clipboard.
Namespace:DevExpress.Xpf.Grid
Assembly:DevExpress.Xpf.Grid.v19.2.Core.dll
Note: This API is now obsolete.
Use the DataControlBase.CopyRangeToClipboard method instead

Syntax
C# |
public void CopyRangeToClipboard(
int startRowHandle,
int endRowHandle
)
|
VB |
Public Sub CopyRangeToClipboard(
ByVal startRowHandle As Integer,
ByVal endRowHandle As Integer
)
|
Parameters
-
startRowHandle
-
Type: Int32
An integer value specifying the handle of the first row in the range.
-
endRowHandle
-
Type: Int32
An integer value specifying the handle of the last row in the range.

Remarks
To copy the values displayed within selected rows, use the DataControlBase.CopySelectedItemsToClipboard method. To copy the values displayed within the specified rows/cards, use the DataControlBase.CopyRowsToClipboard method.
All these methods do nothing if the ClipboardCopyAllowed property is set to false.
To learn more, see Clipboard Management.

See Also