Export (0) Print
Expand All

CatalogZone Constructor

Initializes a new instance of the CatalogZone class.

Namespace:  System.Web.UI.WebControls.WebParts
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 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

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.

© 2014 Microsoft