Click or drag to resize
ViewModeCode Class
Page mode code.
Inheritance Hierarchy
SystemObject
  CMS.PortalEngineViewModeCode

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static class ViewModeCode

The ViewModeCode type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFromEnum
Returns the page mode code from the enumeration value.
Public methodStatic memberFromString
Gets the view mode enumeration from the given string
Public methodStatic memberGetPageEnumFromString
Gets the view mode enumeration from the string value. Supports only page view modes
Public methodStatic memberIsSubsetOfEditMode
Returns TRUE if given mode is subset of 'Edit' mode.
Public methodStatic memberToEnum
Returns the enumeration representation of the Page mode code.
Top
See Also