Kentico 8.2 API Reference
Kentico 8.2 API Reference
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: 8.2.23
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) 2015 Kentico Software
Send comments on this topic to
support@kentico.com