Click or drag to resize
PortalHelperElementIsLayout Method
Indicates if UI element contains template with IsLayout checked.

Namespace: CMS.PortalEngine.Web.UI
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static bool ElementIsLayout(
	UIElementInfo ui,
	bool defaultValue = false
)

Parameters

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

Return Value

Type: Boolean
See Also