Assembly: System.Web (in System.Web.dll)
The property provides a reference to a collection of all the CatalogPart controls in the zone. It references both the CatalogPart controls provided with the Web Parts control set, and any custom CatalogPart controls that are added to the zone.
The collection is initially created when another method accesses the property, and the property calls the CreateCatalogParts method.
The following code example demonstrates how to access the property programmatically. For the full code required to run the example, see the Example section of the CatalogZoneBase class overview.
The code example shows how to access the property, iterate through the collection, and list the IDs of all the CatalogPart controls in the zone.
When you load the page in a browser, you can select Catalog from the drop-down list to switch to catalog display mode. When the catalog is visible, you can click the List CatalogParts button to demonstrate how the property can be accessed.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.