Kentico 9.0 API Reference
Kentico 9.0 API Reference
Namespaces
CMS.PortalEngine
PortalContext Class
PortalContext Methods
ClearEditorWidgets Method
EnsurePortalMode Method
EnsureViewMode Method
GetEditorWidgets Method
GetViewMode Method
IsDesignMode Method
IsPortalMode Method
SaveEditorWidgets Method
SetRequestViewMode Method
SetViewMode Method
UpdateViewMode Method
PortalContext
SetViewMode Method
Sets current view mode.
Namespace:
CMS.PortalEngine
Assembly:
CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntax
C#
Copy
public
static
void
SetViewMode
(
ViewModeEnum
value
)
Parameters
value
Type:
CMS.PortalEngine
ViewModeEnum
New view mode
See Also
Reference
PortalContext Class
CMS.PortalEngine Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com