ViewModeExtensions IsDesign Method Kentico 8.0 API Reference
Returns true if the view mode is design view mode

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

viewMode
Type: CMS.PortalEngine ViewModeEnum
View mode to check
includeDesignDisabled (Optional)
Type: OnlineSystem Boolean
if set to true returns true for DesignDisabled as well.

Return Value

Type: OnlineBoolean
See Also