Back to Devexpress

RowDeletingEventArgs.Cancel Property

corelibraries-devexpress-dot-data-dot-rowdeletingeventargs.md

latest1.1 KB
Original Source

RowDeletingEventArgs.Cancel Property

Gets or sets whether the current event (the row deletion) needs to be canceled.

Namespace : DevExpress.Data

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

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

Property Value

TypeDescription
Boolean

true , if the current event needs to be canceled; otherwise, false.

|

Remarks

To prevent row deletion, set the Cancel property to true.

See Also

RowDeletingEventArgs Class

RowDeletingEventArgs Members

DevExpress.Data Namespace