CatalogPartDesigner Class
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 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.