Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public void CopyCellsToClipboard(
    int startRowHandle,
    ColumnBase startColumn,
    int endRowHandle,
    ColumnBase endColumn
)

#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 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