A newer version of this page is available. Switch to the current version.

WebModificationsController.EditAction Property

Provides access to the SwitchToEditMode Action.

Namespace: DevExpress.ExpressApp.Web.SystemModule

Assembly: DevExpress.ExpressApp.Web.v18.2.dll


public SimpleAction EditAction { get; }
Public ReadOnly Property EditAction As SimpleAction

Property Value

Type Description

A SimpleAction object representing the SwitchToEditMode Action.


The SwitchToEditMode Action allows end-users to display the current Detail View in edit mode when it is displayed in view mode. This Action sets the ViewEditMode.Edit value for the Detail View's DetailView.ViewEditMode property. This results in an update of the View's controls and Actions state.

The SwitchToEditMode Action is active when the current View is root and when displayed in view mode. The Action is deactivated if the View is read-only (see View.AllowEdit, View.AllowNew and View.AllowDelete).

The SwitchToEditMode Action can be disabled, because the current user does not have permission to edit the current object.

Information on the SwitchToEditMode Action is available in the Application Model's ActionDesign node. To access it, use the Model Editor.


To change a Detail View's display mode in code, user the DetailView.ViewEditMode property.

See Also