Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.PortalEngine Namespaces
CMS.PortalEngine
PageTemplateInstance Class
PageTemplateInstance Methods
AddWebPart Method
AddWidget Method
AddZone Method
Clone Method
CloneWebPart Method
CombineWith Method
ContainsZones Method
EnsureZone Method
GetNestedZones Method
GetUniqueWebPartId Method
GetWebPart Method
GetXmlElement Method
GetZone Method
GetZonesXML Method
LoadFromXml Method
LoadFromXmlElement Method
LoadVariants Method
MoveAllWebParts Method
MoveWebPart Method
MoveWebPartDown Method
MoveWebPartToNextZone Method
MoveWebPartToPreviousZone Method
MoveWebPartUp Method
RemoveZone Method
ZoneExists Method
PageTemplateInstance
ContainsZones Method
Returns true if the page template contains zones of the specific type.
Namespace:
CMS.PortalEngine
Assembly:
CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
Copy
public
bool
ContainsZones
(
WidgetZoneTypeEnum
zoneType
)
Parameters
zoneType
Type:
CMS.PortalEngine
WidgetZoneTypeEnum
Zone type
Return Value
Type:
Boolean
See Also
Reference
PageTemplateInstance Class
CMS.PortalEngine Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com