This topic has not yet been rated - Rate this topic

ComponentDocumentDesigner Class

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

System.Object
  System.ComponentModel.Design.ComponentDesigner
    System.Windows.Forms.Design.ComponentDocumentDesigner

Namespace:  System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)
public class ComponentDocumentDesigner : ComponentDesigner, 
	IRootDesigner, IDesigner, IDisposable, IToolboxUser, ITypeDescriptorFilterService

The ComponentDocumentDesigner type exposes the following members.

  Name Description
Public method ComponentDocumentDesigner Initializes a new instance of the ComponentDocumentDesigner class.
Top
  Name Description
Public property ActionLists Gets the design-time action lists supported by the component associated with the designer. (Inherited from ComponentDesigner.)
Public property AssociatedComponents Gets the collection of components associated with the component managed by the designer. (Inherited from ComponentDesigner.)
Public property Component Gets the component this designer is designing. (Inherited from ComponentDesigner.)
Public property Control Gets the control for the designer.
Protected property InheritanceAttribute Gets an attribute that indicates the type of inheritance of the associated component. (Inherited from ComponentDesigner.)
Protected property Inherited Gets a value indicating whether this component is inherited. (Inherited from ComponentDesigner.)
Protected property ParentComponent Gets the parent component for this designer. (Inherited from ComponentDesigner.)
Protected property ShadowProperties Gets a collection of property values that override user settings. (Inherited from ComponentDesigner.)
Public property TrayAutoArrange Gets or sets a value indicating whether the component tray for the designer is in auto-arrange mode.
Public property TrayLargeIcon Gets or sets a value indicating whether the component tray for the designer is in large icon mode.
Public property Verbs Gets the design-time verbs supported by the component that is associated with the designer. (Inherited from ComponentDesigner.)
Top
  Name Description
Public method Dispose() Releases all resources used by the ComponentDesigner. (Inherited from ComponentDesigner.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the ComponentDocumentDesigner and optionally releases the managed resources. (Overrides ComponentDesigner.Dispose(Boolean).)
Public method DoDefaultAction Creates a method signature in the source code file for the default event on the component and navigates the user's cursor to that location. (Inherited from ComponentDesigner.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Attempts to free resources by calling Dispose(false) before the object is reclaimed by garbage collection. (Inherited from ComponentDesigner.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetService Attempts to retrieve the specified type of service from the design mode site of the designer's component. (Inherited from ComponentDesigner.)
Protected method GetToolSupported Gets a value indicating whether the specified tool is supported by the designer.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize Initializes the designer with the specified component. (Overrides ComponentDesigner.Initialize(IComponent).)
Public method InitializeExistingComponent Reinitializes an existing component. (Inherited from ComponentDesigner.)
Public method InitializeNewComponent Initializes a newly created component. (Inherited from ComponentDesigner.)
Public method InitializeNonDefault Obsolete. Initializes the settings for an imported component that is already initialized to settings other than the defaults. (Inherited from ComponentDesigner.)
Protected method InvokeGetInheritanceAttribute Gets the InheritanceAttribute of the specified ComponentDesigner. (Inherited from ComponentDesigner.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnSetComponentDefaults Obsolete. Sets the default properties for the component. (Inherited from ComponentDesigner.)
Protected method PostFilterAttributes Allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PostFilterEvents Allows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PostFilterProperties Allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PreFilterAttributes Allows a designer to add to the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PreFilterEvents Allows a designer to add to the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PreFilterProperties Adjusts the set of properties the component will expose through a TypeDescriptor. (Overrides ComponentDesigner.PreFilterProperties(IDictionary).)
Protected method RaiseComponentChanged Notifies the IComponentChangeService that this component has been changed. (Inherited from ComponentDesigner.)
Protected method RaiseComponentChanging Notifies the IComponentChangeService that this component is about to be changed. (Inherited from ComponentDesigner.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Explicit interface implemetation Private method IDesignerFilter.PostFilterAttributes For a description of this member, see the IDesignerFilter.PostFilterAttributes method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PostFilterEvents For a description of this member, see the IDesignerFilter.PostFilterEvents method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PostFilterProperties For a description of this member, see the IDesignerFilter.PostFilterProperties method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PreFilterAttributes For a description of this member, see the IDesignerFilter.PreFilterAttributes method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PreFilterEvents For a description of this member, see the IDesignerFilter.PreFilterEvents method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PreFilterProperties For a description of this member, see the IDesignerFilter.PreFilterProperties method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IRootDesigner.GetView For a description of this member, see System.ComponentModel.Design.ViewTechnology.
Explicit interface implemetation Private property IRootDesigner.SupportedTechnologies For a description of this member, see IRootDesigner.SupportedTechnologies.
Explicit interface implemetation Private method IToolboxUser.GetToolSupported For a description of this member, see IToolboxUser.GetToolSupported.
Explicit interface implemetation Private method IToolboxUser.ToolPicked For a description of this member, see IToolboxUser.ToolPicked.
Explicit interface implemetation Private property ITreeDesigner.Children For a description of this member, see the ITreeDesigner.Children property. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private property ITreeDesigner.Parent For a description of this member, see the ITreeDesigner.Parent property. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method ITypeDescriptorFilterService.FilterAttributes For a description of this member, see ITypeDescriptorFilterService.FilterAttributes.
Explicit interface implemetation Private method ITypeDescriptorFilterService.FilterEvents For a description of this member, see ITypeDescriptorFilterService.FilterEvents.
Explicit interface implemetation Private method ITypeDescriptorFilterService.FilterProperties For a description of this member, see ITypeDescriptorFilterService.FilterProperties.
Top

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.

Note Note

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ