Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.PortalEngine Namespaces
CMS.PortalEngine
ViewModeCode Class
ViewModeCode Methods
FromEnum Method
FromString Method
GetPageEnumFromString Method
IsSubsetOfEditMode Method
ToEnum Method
ViewModeCode
FromEnum Method
Returns the page mode code from the enumeration value.
Namespace:
CMS.PortalEngine
Assembly:
CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
Copy
public
static
int
FromEnum
(
ViewModeEnum
value
)
Parameters
value
Type:
CMS.PortalEngine
ViewModeEnum
Value to convert
Return Value
Type:
Int32
See Also
Reference
ViewModeCode Class
CMS.PortalEngine Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com