Export (0) Print
Expand All

CatalogPartDesigner Class

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

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

'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Public Class CatalogPartDesigner _
	Inherits PartDesigner
'Usage
Dim instance As CatalogPartDesigner

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

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft