CatalogZone Constructor ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the CatalogZone class.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

new : unit -> CatalogZone

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 CatalogZone 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 CatalogZone 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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top