UIContextHelper ElementIsLayout Method Kentico 8.0 API Reference
Indicates if UI element contains template with IsLayout checked.

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

Parameters

ui
Type: CMS.Modules UIElementInfo
UI element to check
defaultValue (Optional)
Type: OnlineSystem Boolean
Return default value, if element is not found or does not contain template

Return Value

Type: OnlineBoolean
See Also