Skip to main content

RowDeletingEventArgs.Cancel Property

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

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v23.1.dll

NuGet Package: DevExpress.Data


public bool Cancel { get; set; }

Property Value

Type Description

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


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

See Also