Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)]
public ref class CatalogPartDesigner : public 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 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.