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

DetailView.ViewEditModeChanging Event

Occurs before changing the current View's DetailView.ViewEditMode property value.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

public event EventHandler<CancelEventArgs> ViewEditModeChanging
Public Event ViewEditModeChanging As EventHandler(Of CancelEventArgs)

Event Data

The ViewEditModeChanging event's data class is CancelEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.

Remarks

By default, this event is raised when the Edit, SaveAndClose or Cancel built-in Action is executed. This behavior is provided by the WebModificationsController. So, it makes sence is ASP.NET Web applications only.

See Also