RowDeletingEventArgs.Cancel Property

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

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v20.2.dll

Declaration

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

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