Back to Devexpress

DataViewBase.CopyRangeToClipboard(Int32, Int32) Method

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-dot-copyrangetoclipboard-x28-system-dot-int32-system-dot-int32-x29.md

latest2.4 KB
Original Source

DataViewBase.CopyRangeToClipboard(Int32, Int32) Method

OBSOLETE

Use the CopyRangeToClipboard method instead

Copies values displayed within the specified range of rows/cards to the clipboard.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Obsolete("Use the DataControlBase.CopyRangeToClipboard method instead")]
[Browsable(false)]
public void CopyRangeToClipboard(
    int startRowHandle,
    int endRowHandle
)
vb
<Obsolete("Use the DataControlBase.CopyRangeToClipboard method instead")>
<Browsable(False)>
Public Sub CopyRangeToClipboard(
    startRowHandle As Integer,
    endRowHandle As Integer
)

Parameters

NameTypeDescription
startRowHandleInt32

An integer value specifying the handle of the first row in the range.

| | endRowHandle | Int32 |

An integer value specifying the handle of the last row in the range.

|

Remarks

To copy values displayed within selected rows, use the DataControlBase.CopySelectedItemsToClipboard method. To copy values displayed within the specified rows/cards, use the DataControlBase.CopyRowsToClipboard method.

All of these methods do nothing if the DataControlBase.ClipboardCopyMode property is set to None.

To learn more, see Clipboard Management.

See Also

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace