This documentation is archived and is not being maintained.

ComponentDocumentDesigner Class

Base designer class for extending the design mode behavior of a root design document that supports nested components.

Namespace:  System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

public class ComponentDocumentDesigner : ComponentDesigner, 
	IRootDesigner, IDesigner, IDisposable, IToolboxUser, ITypeDescriptorFilterService

ComponentDocumentDesigner provides a base class for designers of root design documents that support nested components. In addition to the methods and functionality inherited from the ComponentDesigner class, ComponentDocumentDesigner implements the IRootDesigner interface to provide a root-level design mode view for the associated component, and any nested components.


The root-level design mode view for a Form or Control is typically provided by a built-in root designer. A custom IRootDesigner implementation is required to provide a view for other types of root components in design mode.

You can associate a designer with a type using a DesignerAttribute. For an overview of customizing design time behavior, see Extending Design-Time Support.


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, 1.1, 1.0