ViewModeExtensions IsOneOf Method Kentico 8.0 API Reference
Returns true if the view mode is one of the given view modes

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
modes
Type:  CMS.PortalEngine ViewModeEnum 
View modes to match

Return Value

Type: OnlineBoolean
See Also