The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebPropertyEditor.ViewEditMode Property

Specifies the mode for displaying the Property Editor's control.

Namespace: DevExpress.ExpressApp.Web.Editors

Assembly: DevExpress.ExpressApp.Web.v19.1.dll

Declaration

public ViewEditMode ViewEditMode { get; set; }
Public Property ViewEditMode As ViewEditMode

Property Value

Type Description
ViewEditMode

A ViewEditMode enumeration value that represents the current Property Editor's control display mode.

Remarks

Use this property to get the mode for displaying the Property Editor's control. The following values are available:

  • Edit

    The Property Editor's control is available for data editing.

  • View

    The Property Editor's control can be used to view data only.

This property is managed by the View that contains the current Property Editor (see DetailView.ViewEditMode).

Internally, the ViewEditMode property is used to determine what control should be created for the current Property Editor. The control that is created in view mode can be accessed via the WebPropertyEditor.InplaceViewModeEditor property, and the control created in edit mode is returned by the WebPropertyEditor.Editor property.

See Also