Back to Devexpress

TableView.ClipboardRowCellValuePasting Event

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-16216a28.md

latest2.3 KB
Original Source

TableView.ClipboardRowCellValuePasting Event

Occurs when an end-user pastes new cell values from clipboard and allows you to process the inserted data or cancel the operation.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public event EventHandler<ClipboardRowCellValuePastingEventArgs> ClipboardRowCellValuePasting
vb
Public Event ClipboardRowCellValuePasting As EventHandler(Of ClipboardRowCellValuePastingEventArgs)

Event Data

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

PropertyDescription
CancelGets or sets the value indicating whether to prevent pasting a cell value.
ColumnGets a column where a new cell value is pasted.
OldValueGets the cell value that was before pasting a new value.
OriginalValueGets the original pasted value.
RowHandleGets a handle of a row where a new cell value is pasted.
ValueGets or sets a value that is pasted to cell.

Remarks

Refer to the Paste Operations topic to learn more.

See Also

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace