UIContextHelper ElementIsLayout Method Kentico 8.1 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.1.5347.20411)

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