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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

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.

#Remarks

Refer to the Paste Operations topic to learn more.

Note

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

See Also