Export (0) Print
Expand All

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.

  NameDescription
Public methodComponentDocumentDesignerInitializes a new instance of the ComponentDocumentDesigner class.
Top

  NameDescription
Public propertyActionListsGets the design-time action lists supported by the component associated with the designer. (Inherited from ComponentDesigner.)
Public propertyAssociatedComponentsGets the collection of components associated with the component managed by the designer. (Inherited from ComponentDesigner.)
Public propertyComponentGets the component this designer is designing. (Inherited from ComponentDesigner.)
Public propertyControlGets the control for the designer.
Protected propertyInheritanceAttributeGets an attribute that indicates the type of inheritance of the associated component. (Inherited from ComponentDesigner.)
Protected propertyInheritedGets a value indicating whether this component is inherited. (Inherited from ComponentDesigner.)
Protected propertyParentComponentGets the parent component for this designer. (Inherited from ComponentDesigner.)
Protected propertyShadowPropertiesGets a collection of property values that override user settings. (Inherited from ComponentDesigner.)
Public propertyTrayAutoArrangeGets or sets a value indicating whether the component tray for the designer is in auto-arrange mode.
Public propertyTrayLargeIconGets or sets a value indicating whether the component tray for the designer is in large icon mode.
Public propertyVerbsGets the design-time verbs supported by the component that is associated with the designer. (Inherited from ComponentDesigner.)
Top

  NameDescription
Public methodDispose()Releases all resources used by the ComponentDesigner. (Inherited from ComponentDesigner.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the ComponentDocumentDesigner and optionally releases the managed resources. (Overrides ComponentDesigner.Dispose(Boolean).)
Public methodDoDefaultActionCreates 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 methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAttempts to free resources by calling Dispose(false) before the object is reclaimed by garbage collection. (Inherited from ComponentDesigner.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetServiceAttempts to retrieve the specified type of service from the design mode site of the designer's component. (Inherited from ComponentDesigner.)
Protected methodGetToolSupportedGets a value indicating whether the specified tool is supported by the designer.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeInitializes the designer with the specified component. (Overrides ComponentDesigner.Initialize(IComponent).)
Public methodInitializeExistingComponentReinitializes an existing component. (Inherited from ComponentDesigner.)
Public methodInitializeNewComponentInitializes a newly created component. (Inherited from ComponentDesigner.)
Public methodInitializeNonDefault Obsolete. Initializes the settings for an imported component that is already initialized to settings other than the defaults. (Inherited from ComponentDesigner.)
Protected methodInvokeGetInheritanceAttributeGets the InheritanceAttribute of the specified ComponentDesigner. (Inherited from ComponentDesigner.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnSetComponentDefaults Obsolete. Sets the default properties for the component. (Inherited from ComponentDesigner.)
Protected methodPostFilterAttributesAllows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected methodPostFilterEventsAllows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected methodPostFilterPropertiesAllows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected methodPreFilterAttributesAllows a designer to add to the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected methodPreFilterEventsAllows a designer to add to the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected methodPreFilterPropertiesAdjusts the set of properties the component will expose through a TypeDescriptor. (Overrides ComponentDesigner.PreFilterProperties(IDictionary).)
Protected methodRaiseComponentChangedNotifies the IComponentChangeService that this component has been changed. (Inherited from ComponentDesigner.)
Protected methodRaiseComponentChangingNotifies the IComponentChangeService that this component is about to be changed. (Inherited from ComponentDesigner.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIDesignerFilter.PostFilterAttributesFor a description of this member, see the IDesignerFilter.PostFilterAttributes method. (Inherited from ComponentDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PostFilterEventsFor a description of this member, see the IDesignerFilter.PostFilterEvents method. (Inherited from ComponentDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PostFilterPropertiesFor a description of this member, see the IDesignerFilter.PostFilterProperties method. (Inherited from ComponentDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PreFilterAttributesFor a description of this member, see the IDesignerFilter.PreFilterAttributes method. (Inherited from ComponentDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PreFilterEventsFor a description of this member, see the IDesignerFilter.PreFilterEvents method. (Inherited from ComponentDesigner.)
Explicit interface implemetationPrivate methodIDesignerFilter.PreFilterPropertiesFor a description of this member, see the IDesignerFilter.PreFilterProperties method. (Inherited from ComponentDesigner.)
Explicit interface implemetationPrivate methodIRootDesigner.GetViewFor a description of this member, see System.ComponentModel.Design.ViewTechnology.
Explicit interface implemetationPrivate propertyIRootDesigner.SupportedTechnologiesFor a description of this member, see IRootDesigner.SupportedTechnologies.
Explicit interface implemetationPrivate methodIToolboxUser.GetToolSupportedFor a description of this member, see IToolboxUser.GetToolSupported.
Explicit interface implemetationPrivate methodIToolboxUser.ToolPickedFor a description of this member, see IToolboxUser.ToolPicked.
Explicit interface implemetationPrivate propertyITreeDesigner.ChildrenFor a description of this member, see the ITreeDesigner.Children property. (Inherited from ComponentDesigner.)
Explicit interface implemetationPrivate propertyITreeDesigner.ParentFor a description of this member, see the ITreeDesigner.Parent property. (Inherited from ComponentDesigner.)
Explicit interface implemetationPrivate methodITypeDescriptorFilterService.FilterAttributesFor a description of this member, see ITypeDescriptorFilterService.FilterAttributes.
Explicit interface implemetationPrivate methodITypeDescriptorFilterService.FilterEventsFor a description of this member, see ITypeDescriptorFilterService.FilterEvents.
Explicit interface implemetationPrivate methodITypeDescriptorFilterService.FilterPropertiesFor 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.

NoteNote

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.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft