Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ViewEditMode Enum

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

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.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 Web Forms applications.

Edit

An XAF element that supports the View-Edit mode is displayed in the editable mode in ASP.NET Web Forms 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 Web Forms 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