Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.PortalEngine Namespaces
CMS.PortalEngine
PortalContext Class
PortalContext Methods
ClearEditorWidgets Method
EnsurePortalMode Method
GetEditorWidgets Method
GetViewMode Method
IsDesignMode Method
IsPortalMode Method
SaveEditorWidgets Method
SetRequestViewMode Method
SetViewMode Method
UpdateViewMode Method
PortalContext
GetViewMode Method
Gets current view mode.
Namespace:
CMS.PortalEngine
Assembly:
CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 12.0.0
Syntax
C#
Copy
public
static
ViewModeEnum
GetViewMode
()
Return Value
Type:
ViewModeEnum
See Also
Reference
PortalContext Class
CMS.PortalEngine Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com