Initializes a new instance of the CatalogZone class.
Assembly: System.Web (in System.Web.dll)
Because the CatalogZone control implements a zone template, it is usually used declaratively and you will seldom need to create a new instance of the class using the constructor. However, if you inherit from the CatalogZone class to create a custom zone, you might wish to use the constructor to initialize some of its property values and customize its appearance.
The following code example demonstrates the programmatic use of the constructor in a custom CatalogZone control. The constructor is used to initialize some default property values for the control. The following code shows the custom CatalogZone class with the constructor declared near the top. For the full code and instructions required to set up and run the example, see the Example section in the CatalogZone class overview.
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.