Export (0) Print
Expand All

CatalogPartDesigner Class

Note: This class is new in the .NET Framework version 2.0.

Provides design-time support for CatalogPart, ImportCatalogPart, and PageCatalogPart controls.

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

public class CatalogPartDesigner : PartDesigner
public class CatalogPartDesigner extends PartDesigner
public class CatalogPartDesigner extends PartDesigner

CatalogPartDesigner is a multi-purpose designer that provides design-time rendering for ImportCatalogPart and PageCatalogPart controls, which both inherit from the CatalogPart base class. CatalogPartDesigner serves as a standard control designer, adding only what customization is needed to validate the associated control and apply its design mode state to the design-time rendering.

If you have a custom PageCatalogPart control, you can create a derived designer, such as DeclarativeCatalogPartDesigner, to provide design-time rendering. You can safely override any of the members as needed; however, when overriding the CreateViewControl method, be sure to call the base implementation to avoid losing design mode state information.

CatalogPartDesigner and EditorPartDesigner share an identical interface and functionality. For an applicable code example, see the EditorPartDesigner class overview.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show:
© 2014 Microsoft