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.2.dll

NuGet Package: DevExpress.Data

Declaration

public bool Cancel { get; set; }

Property Value

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