Skip to main content
A newer version of this page is available. .

ClipboardRowPastingEventArgs.Cancel Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public bool Cancel { get; set; }

Property Value

Type Description
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