Xperience 13 API Reference
Xperience 13 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
IsPortalMode Method
Returns true if the given mode is mode displaying the document.
Namespace:
CMS.PortalEngine
Assembly:
CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
Copy
public
static
bool
IsPortalMode
(
ViewModeEnum
mode
)
Parameters
mode
Type:
CMS.PortalEngine
ViewModeEnum
Return Value
Type:
Boolean
See Also
Reference
PortalContext Class
CMS.PortalEngine Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com