Export (0) Print
Expand All

WebPartManagerDesigner Class

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

Provides minimal design-time support for WebPartManager controls.

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

public class WebPartManagerDesigner : ControlDesigner
public class WebPartManagerDesigner extends ControlDesigner
public class WebPartManagerDesigner extends ControlDesigner

The WebPartManagerDesigner class provides a bare-minimum design-time rendering of the WebPartManager control. It appears on the design surface as a plain gray box showing the name of the class and the ID of the current WebPartManager. You can change the rendering of a custom WebPartManager control by overriding the GetDesignTimeHtml method in the same manner as with any standard ControlDesigner. The UsePreviewControl property is overridden to always return true.

The following code example shows how to change the design-time appearance of a custom WebPartManager control by overriding the GetDesignTimeHtml method of the designer.

System.Object
   System.ComponentModel.Design.ComponentDesigner
     System.Web.UI.Design.HtmlControlDesigner
       System.Web.UI.Design.ControlDesigner
        System.Web.UI.Design.WebControls.WebParts.WebPartManagerDesigner

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