CatalogPartDesigner Class
Provides design-time support for CatalogPart, ImportCatalogPart, and PageCatalogPart controls.
Assembly: System.Design (in System.Design.dll)
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.
- SecurityPermission
for calling unmanaged code. Demand value: Demand. Permission value: UnmanagedCode
System.ComponentModel.Design::ComponentDesigner
System.Web.UI.Design::HtmlControlDesigner
System.Web.UI.Design::ControlDesigner
System.Web.UI.Design.WebControls::CompositeControlDesigner
System.Web.UI.Design.WebControls.WebParts::PartDesigner
System.Web.UI.Design.WebControls.WebParts::CatalogPartDesigner
System.Web.UI.Design.WebControls.WebParts::DeclarativeCatalogPartDesigner
System.Web.UI.Design.WebControls.WebParts::PageCatalogPartDesigner
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.