Skip to main content
.NET Framework 4.5.2+

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.v22.1.dll

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.

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ViewEditMode enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also