Back to Devexpress

TreeListView.ClipboardRowPasting Event

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-c288759a.md

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Event Data

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

PropertyDescription
CancelGets or sets the value indicating whether to prevent pasting a row values.
CellValuesGets an array of pasted values.
ColumnsGets an array of target columns.
DataRowCountGets the total count of rows to process.
ErrorTextA text that contains information about an error that occurred.
IsValidChecks whether the pasted data is valid.
OriginalCellValuesGets the row’s original values.
RowCountGets the total count of rows to process, including rows with headers.
RowHandleGets 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

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace