Skip to main content
A newer version of this page is available. .
.NET Core 3.0+

ViewEditMode Enum

Contains values that specify the display mode for an XAF UI element in an ASP.NET application.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v20.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public enum ViewEditMode

Members

Name Description
View

An XAF element that supports the View-Edit mode is displayed in the read-only mode in ASP.NET applications.

Edit

An XAF element that supports the View-Edit mode is displayed in the editable mode in ASP.NET applications.

Related API Members

The following properties accept/return ViewEditMode values:

Remarks

Members of the ViewEditMode enumeration specify the available modes for displaying an XAF UI Element in ASP.NET applications. To get the enumeration value which is currently set for a Detail View, use the DetailView.ViewEditMode property. In addition, a View Item can also have a similar property, that specifies its display mode. In this instance, the View Item implements the ISupportViewEditMode interface.

See Also