Back to Devexpress

ClipboardRowPastingEventArgs.Cancel Property

wpf-devexpress-dot-xpf-dot-grid-dot-clipboardrowpastingeventargs.md

latest1.5 KB
Original Source

ClipboardRowPastingEventArgs.Cancel Property

Gets or sets the value indicating whether to prevent pasting a row values.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool Cancel { get; set; }
vb
Public Property Cancel As Boolean

Property Value

TypeDescription
Boolean

true, to cancel the action; otherwise, false.

|

Remarks

Use the Cancel property to prevent pasting a row from clipboard. To modify the pasted row, use the ClipboardRowPastingEventArgs.CellValues property.

Refer to the Paste Operations topic to learn more.

See Also

ClipboardRowPastingEventArgs Class

ClipboardRowPastingEventArgs Members

DevExpress.Xpf.Grid Namespace