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

Declaration

public event EventHandler<ClipboardRowPastingEventArgs> ClipboardRowPasting
Public Event ClipboardRowPasting As EventHandler(Of ClipboardRowPastingEventArgs)

Event Data

The ClipboardRowPasting event's handler receives an argument of the ClipboardRowPastingEventArgs type. 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