ViewModeExtensions IsEdit Method Kentico 8.0 API Reference
Returns true if the view mode is editing 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
includeEditDisabled (Optional)
Type: OnlineSystem Boolean
if set to true returns true for EditDisabled as well.

Return Value

Type: OnlineBoolean
See Also