Back to Devexpress

TreeListView.CopyCellsToClipboard(Int32, ColumnBase, Int32, ColumnBase) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-dot-copycellstoclipboard-x28-system-dot-int32-devexpress-dot-xpf-dot-grid-dot-columnbase-system-dot-int32-devexpress-dot-xpf-dot-grid-dot-columnbase-x29.md

latest2.8 KB
Original Source

TreeListView.CopyCellsToClipboard(Int32, ColumnBase, Int32, ColumnBase) Method

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void CopyCellsToClipboard(
    int startRowHandle,
    ColumnBase startColumn,
    int endRowHandle,
    ColumnBase endColumn
)
vb
Public Sub CopyCellsToClipboard(
    startRowHandle As Integer,
    startColumn As ColumnBase,
    endRowHandle As Integer,
    endColumn As ColumnBase
)

Parameters

NameTypeDescription
startRowHandleInt32

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

| | startColumn | ColumnBase |

A ColumnBase 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 | ColumnBase |

A ColumnBase 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 TreeListView.CopySelectedCellsToClipboard.

To learn more, see Clipboard Management.

See Also

CopySelectedCellsToClipboard()

CopyRowsToClipboard(IEnumerable<Int32>)

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace