UIContextHelperElementIsLayout Method |
Indicates if UI element contains template with IsLayout checked.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntax 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:
BooleanSee Also