.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

View.AllowDeleteChanged Event

Occurs when the current View's View.AllowDelete state has changed.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


public event EventHandler AllowDeleteChanged
Public Event AllowDeleteChanged As EventHandler

Event Data

The AllowDeleteChanged event's data class is EventArgs.


Handle this event to execute custom code in response to a change in the current View's AllowDelete property.

A View's AllowDelete state is changed in two cases:

  • When the AllowDelete collection does not have any elements with the value part set to false remaining.
  • When the AllowDelete collection, which has only items with values set to true, gets an element with the value part set to false.

To change a View's AllowDelete state, use methods of the BoolList object returned by the AllowDelete property.

See Also