TableView.CopyCellsToClipboard(Int32, GridColumn, Int32, GridColumn) Method

Copies the values displayed within the specified block of cells to the clipboard.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

public void CopyCellsToClipboard(
    int startRowHandle,
    GridColumn startColumn,
    int endRowHandle,
    GridColumn endColumn
)
Public Sub CopyCellsToClipboard(
    startRowHandle As Integer,
    startColumn As GridColumn,
    endRowHandle As Integer,
    endColumn As GridColumn
)

Parameters

Name Type Description
startRowHandle Int32

An integer value that specifies the handle of the row containing the cell that identifies the starting point.

startColumn GridColumn

A GridColumn object that represents the column containing the cell that identifies the starting point.

endRowHandle Int32

An integer value that specifies the handle of the row containing the cell that identifies the end point.

endColumn GridColumn

A GridColumn object that represents the column containing the cell that identifies the end point.

Remarks

The CopyCellsToClipboard method allows you to copy display values of multiple cells (block of cells) to the clipboard. To copy values displayed within selected cells, use the TableView.CopySelectedCellsToClipboard.

To learn more, see Clipboard Management.

See Also