Skip to main content
.NET 6.0+

View.AllowEditChanged Event

Occurs when the current View‘s View.AllowEdit state has changed.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler AllowEditChanged

Event Data

The AllowEditChanged event's data class is EventArgs.

Remarks

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

A View’s AllowEdit state is changed in two cases:

  • When the AllowEdit collection does not have any elements with the value part set to false remaining.
  • When the AllowEdit 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 AllowEdit state, use methods of the BoolList object returned by the AllowEdit property.

See Also