Skip to main content

TreeListView.ClipboardRowPasting Event

Fires when an end-user pastes a node to the TreeListView and allows you to process the pasted data.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core


public event EventHandler<ClipboardRowPastingEventArgs> ClipboardRowPasting

Event Data

The ClipboardRowPasting event's data class is ClipboardRowPastingEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets the value indicating whether to prevent pasting a row values.
CellValues Gets an array of pasted values.
Columns Gets an array of target columns.
DataRowCount Gets the total count of rows to process.
ErrorText A text that contains information about an error that occurred.
IsValid Checks whether the pasted data is valid.
OriginalCellValues Gets the row’s original values.
RowCount Gets the total count of rows to process, including rows with headers.
RowHandle Gets the pasted row’s handle.


Refer to the Paste Operations topic to learn more.


The ClipboardRowPasting event fires when the TableView.PasteMode property is specified.

See Also