Kentico 12 Service Pack API Reference
Kentico 12 Service Pack 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 (in CMS.PortalEngine.dll) Version: 12.0.0
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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com