ComponentDocumentDesigner ComponentDocumentDesigner ComponentDocumentDesigner ComponentDocumentDesigner Class

Definition

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

public ref class ComponentDocumentDesigner : System::ComponentModel::Design::ComponentDesigner, IDisposable, System::ComponentModel::Design::IRootDesigner, System::ComponentModel::Design::ITypeDescriptorFilterService, System::Drawing::Design::IToolboxUser
public class ComponentDocumentDesigner : System.ComponentModel.Design.ComponentDesigner, IDisposable, System.ComponentModel.Design.IRootDesigner, System.ComponentModel.Design.ITypeDescriptorFilterService, System.Drawing.Design.IToolboxUser
type ComponentDocumentDesigner = class
    inherit ComponentDesigner
    interface IRootDesigner
    interface IDesigner
    interface IDisposable
    interface IToolboxUser
    interface ITypeDescriptorFilterService
Public Class ComponentDocumentDesigner
Inherits ComponentDesigner
Implements IDisposable, IRootDesigner, IToolboxUser, ITypeDescriptorFilterService
Inheritance
ComponentDocumentDesignerComponentDocumentDesignerComponentDocumentDesignerComponentDocumentDesigner
Implements

Remarks

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

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.

Constructors

ComponentDocumentDesigner() ComponentDocumentDesigner() ComponentDocumentDesigner() ComponentDocumentDesigner()

Initializes a new instance of the ComponentDocumentDesigner class.

Properties

ActionLists ActionLists ActionLists ActionLists

Gets the design-time action lists supported by the component associated with the designer.

(Inherited from ComponentDesigner)
AssociatedComponents AssociatedComponents AssociatedComponents AssociatedComponents

Gets the collection of components associated with the component managed by the designer.

(Inherited from ComponentDesigner)
Component Component Component Component

Gets the component this designer is designing.

(Inherited from ComponentDesigner)
Control Control Control Control

Gets the control for the designer.

InheritanceAttribute InheritanceAttribute InheritanceAttribute InheritanceAttribute

Gets an attribute that indicates the type of inheritance of the associated component.

(Inherited from ComponentDesigner)
Inherited Inherited Inherited Inherited

Gets a value indicating whether this component is inherited.

(Inherited from ComponentDesigner)
ITreeDesigner.Children ITreeDesigner.Children ITreeDesigner.Children ITreeDesigner.Children

For a description of this member, see the Children property.

(Inherited from ComponentDesigner)
ITreeDesigner.Parent ITreeDesigner.Parent ITreeDesigner.Parent ITreeDesigner.Parent

For a description of this member, see the Parent property.

(Inherited from ComponentDesigner)
ParentComponent ParentComponent ParentComponent ParentComponent

Gets the parent component for this designer.

(Inherited from ComponentDesigner)
ShadowProperties ShadowProperties ShadowProperties ShadowProperties

Gets a collection of property values that override user settings.

(Inherited from ComponentDesigner)
TrayAutoArrange TrayAutoArrange TrayAutoArrange TrayAutoArrange

Gets or sets a value indicating whether the component tray for the designer is in auto-arrange mode.

TrayLargeIcon TrayLargeIcon TrayLargeIcon TrayLargeIcon

Gets or sets a value indicating whether the component tray for the designer is in large icon mode.

Verbs Verbs Verbs Verbs

Gets the design-time verbs supported by the component that is associated with the designer.

(Inherited from ComponentDesigner)

Methods

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the ComponentDesigner.

(Inherited from ComponentDesigner)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the ComponentDocumentDesigner and optionally releases the managed resources.

DoDefaultAction() DoDefaultAction() DoDefaultAction() 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)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetService(Type) GetService(Type) GetService(Type) GetService(Type)

Attempts to retrieve the specified type of service from the design mode site of the designer's component.

(Inherited from ComponentDesigner)
GetToolSupported(ToolboxItem) GetToolSupported(ToolboxItem) GetToolSupported(ToolboxItem) GetToolSupported(ToolboxItem)

Gets a value indicating whether the specified tool is supported by the designer.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(IComponent) Initialize(IComponent) Initialize(IComponent) Initialize(IComponent)

Initializes the designer with the specified component.

InitializeExistingComponent(IDictionary) InitializeExistingComponent(IDictionary) InitializeExistingComponent(IDictionary) InitializeExistingComponent(IDictionary)

Reinitializes an existing component.

(Inherited from ComponentDesigner)
InitializeNewComponent(IDictionary) InitializeNewComponent(IDictionary) InitializeNewComponent(IDictionary) InitializeNewComponent(IDictionary)

Initializes a newly created component.

(Inherited from ComponentDesigner)
InitializeNonDefault() InitializeNonDefault() InitializeNonDefault() InitializeNonDefault()

Initializes the settings for an imported component that is already initialized to settings other than the defaults.

(Inherited from ComponentDesigner)
InvokeGetInheritanceAttribute(ComponentDesigner) InvokeGetInheritanceAttribute(ComponentDesigner) InvokeGetInheritanceAttribute(ComponentDesigner) InvokeGetInheritanceAttribute(ComponentDesigner)

Gets the InheritanceAttribute of the specified ComponentDesigner.

(Inherited from ComponentDesigner)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnSetComponentDefaults() OnSetComponentDefaults() OnSetComponentDefaults() OnSetComponentDefaults()

Sets the default properties for the component.

(Inherited from ComponentDesigner)
PostFilterAttributes(IDictionary) PostFilterAttributes(IDictionary) PostFilterAttributes(IDictionary) PostFilterAttributes(IDictionary)

Allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor.

(Inherited from ComponentDesigner)
PostFilterEvents(IDictionary) PostFilterEvents(IDictionary) PostFilterEvents(IDictionary) PostFilterEvents(IDictionary)

Allows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor.

(Inherited from ComponentDesigner)
PostFilterProperties(IDictionary) PostFilterProperties(IDictionary) PostFilterProperties(IDictionary) PostFilterProperties(IDictionary)

Allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor.

(Inherited from ComponentDesigner)
PreFilterAttributes(IDictionary) PreFilterAttributes(IDictionary) PreFilterAttributes(IDictionary) PreFilterAttributes(IDictionary)

Allows a designer to add to the set of attributes that it exposes through a TypeDescriptor.

(Inherited from ComponentDesigner)
PreFilterEvents(IDictionary) PreFilterEvents(IDictionary) PreFilterEvents(IDictionary) PreFilterEvents(IDictionary)

Allows a designer to add to the set of events that it exposes through a TypeDescriptor.

(Inherited from ComponentDesigner)
PreFilterProperties(IDictionary) PreFilterProperties(IDictionary) PreFilterProperties(IDictionary) PreFilterProperties(IDictionary)

Adjusts the set of properties the component will expose through a TypeDescriptor.

RaiseComponentChanged(MemberDescriptor, Object, Object) RaiseComponentChanged(MemberDescriptor, Object, Object) RaiseComponentChanged(MemberDescriptor, Object, Object) RaiseComponentChanged(MemberDescriptor, Object, Object)

Notifies the IComponentChangeService that this component has been changed.

(Inherited from ComponentDesigner)
RaiseComponentChanging(MemberDescriptor) RaiseComponentChanging(MemberDescriptor) RaiseComponentChanging(MemberDescriptor) RaiseComponentChanging(MemberDescriptor)

Notifies the IComponentChangeService that this component is about to be changed.

(Inherited from ComponentDesigner)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDesignerFilter.PostFilterAttributes(IDictionary) IDesignerFilter.PostFilterAttributes(IDictionary) IDesignerFilter.PostFilterAttributes(IDictionary) IDesignerFilter.PostFilterAttributes(IDictionary)

For a description of this member, see the PostFilterAttributes(IDictionary) method.

(Inherited from ComponentDesigner)
IDesignerFilter.PostFilterEvents(IDictionary) IDesignerFilter.PostFilterEvents(IDictionary) IDesignerFilter.PostFilterEvents(IDictionary) IDesignerFilter.PostFilterEvents(IDictionary)

For a description of this member, see the PostFilterEvents(IDictionary) method.

(Inherited from ComponentDesigner)
IDesignerFilter.PostFilterProperties(IDictionary) IDesignerFilter.PostFilterProperties(IDictionary) IDesignerFilter.PostFilterProperties(IDictionary) IDesignerFilter.PostFilterProperties(IDictionary)

For a description of this member, see the PostFilterProperties(IDictionary) method.

(Inherited from ComponentDesigner)
IDesignerFilter.PreFilterAttributes(IDictionary) IDesignerFilter.PreFilterAttributes(IDictionary) IDesignerFilter.PreFilterAttributes(IDictionary) IDesignerFilter.PreFilterAttributes(IDictionary)

For a description of this member, see the PreFilterAttributes(IDictionary) method.

(Inherited from ComponentDesigner)
IDesignerFilter.PreFilterEvents(IDictionary) IDesignerFilter.PreFilterEvents(IDictionary) IDesignerFilter.PreFilterEvents(IDictionary) IDesignerFilter.PreFilterEvents(IDictionary)

For a description of this member, see the PreFilterEvents(IDictionary) method.

(Inherited from ComponentDesigner)
IDesignerFilter.PreFilterProperties(IDictionary) IDesignerFilter.PreFilterProperties(IDictionary) IDesignerFilter.PreFilterProperties(IDictionary) IDesignerFilter.PreFilterProperties(IDictionary)

For a description of this member, see the PreFilterProperties(IDictionary) method.

(Inherited from ComponentDesigner)
IRootDesigner.GetView(ViewTechnology) IRootDesigner.GetView(ViewTechnology) IRootDesigner.GetView(ViewTechnology) IRootDesigner.GetView(ViewTechnology)

For a description of this member, see ViewTechnology.

IRootDesigner.SupportedTechnologies IRootDesigner.SupportedTechnologies IRootDesigner.SupportedTechnologies IRootDesigner.SupportedTechnologies

For a description of this member, see SupportedTechnologies.

IToolboxUser.GetToolSupported(ToolboxItem) IToolboxUser.GetToolSupported(ToolboxItem) IToolboxUser.GetToolSupported(ToolboxItem) IToolboxUser.GetToolSupported(ToolboxItem)

For a description of this member, see GetToolSupported(ToolboxItem).

IToolboxUser.ToolPicked(ToolboxItem) IToolboxUser.ToolPicked(ToolboxItem) IToolboxUser.ToolPicked(ToolboxItem) IToolboxUser.ToolPicked(ToolboxItem)

For a description of this member, see ToolPicked(ToolboxItem).

ITypeDescriptorFilterService.FilterAttributes(IComponent, IDictionary) ITypeDescriptorFilterService.FilterAttributes(IComponent, IDictionary) ITypeDescriptorFilterService.FilterAttributes(IComponent, IDictionary) ITypeDescriptorFilterService.FilterAttributes(IComponent, IDictionary)

For a description of this member, see FilterAttributes(IComponent, IDictionary).

ITypeDescriptorFilterService.FilterEvents(IComponent, IDictionary) ITypeDescriptorFilterService.FilterEvents(IComponent, IDictionary) ITypeDescriptorFilterService.FilterEvents(IComponent, IDictionary) ITypeDescriptorFilterService.FilterEvents(IComponent, IDictionary)

For a description of this member, see FilterEvents(IComponent, IDictionary).

ITypeDescriptorFilterService.FilterProperties(IComponent, IDictionary) ITypeDescriptorFilterService.FilterProperties(IComponent, IDictionary) ITypeDescriptorFilterService.FilterProperties(IComponent, IDictionary) ITypeDescriptorFilterService.FilterProperties(IComponent, IDictionary)

For a description of this member, see FilterProperties(IComponent, IDictionary).

Applies to

See Also