Kentico 8.2 API Reference
Kentico 8.2 API Reference
Namespaces
CMS.PortalEngine
ViewModeExtensions Class
ViewModeExtensions Methods
IsDesign Method
IsEdit Method
IsEditLive Method
IsLiveSite Method
IsOneOf Method
IsPreview Method
IsWireframe Method
ViewModeExtensions
IsWireframe Method
Returns true if the view mode is wireframe view mode
Namespace:
CMS.PortalEngine
Assembly:
CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
Copy
public
static
bool
IsWireframe
(
this
ViewModeEnum
viewMode
)
Parameters
viewMode
Type:
CMS.PortalEngine
ViewModeEnum
View mode to check
Return Value
Type:
Boolean
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ViewModeEnum
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
ViewModeExtensions Class
CMS.PortalEngine Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com