The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.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.v19.2.dll

Declaration

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

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