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

DataControlBase.CopyRangeToClipboard(Int32, Int32) Method

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll

Declaration

public void CopyRangeToClipboard(
    int startRowHandle,
    int endRowHandle
)

Parameters

Name Type Description
startRowHandle Int32

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 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 DataViewBase.ClipboardCopyAllowed property is set to false.

To learn more, see Clipboard Management.

See Also