Click or drag to resize
PortalContextUpdateViewMode Method
Updates the current view mode

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
public static ViewModeEnum UpdateViewMode(
	ViewModeEnum baseMode
)

Parameters

baseMode
Type: CMS.PortalEngineViewModeEnum
Current base mode (edit / preview / live)

Return Value

Type: ViewModeEnum
See Also