Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

WebModificationsController.EditAction Property

Provides access to the SwitchToEditMode Action.

Namespace: DevExpress.ExpressApp.Web.SystemModule

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

NuGet Package: DevExpress.ExpressApp.Web

Declaration

public SimpleAction EditAction { get; }

Property Value

Type Description
SimpleAction

A SimpleAction object representing the SwitchToEditMode Action.

Remarks

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.

Note

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

See Also