This documentation is archived and is not being maintained.

ComponentDesigner Methods

The methods of the ComponentDesigner class are listed here. For a complete list of ComponentDesigner class members, see the ComponentDesigner Members topic.

Public Methods

public methodDispose Overloaded. Releases the resources used by the ComponentDesigner.
public methodDoDefaultAction 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.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitialize Prepares the designer to view, edit, and design the specified component.
public methodInitializeNonDefault Initializes the settings for an imported component that is already initialized to settings other than the defaults.
public methodOnSetComponentDefaults Sets the default properties for the component.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodDispose Overloaded. Releases the resources used by the ComponentDesigner.
protected methodFinalize Overridden. Attempts to free resources by calling Dispose(false) before the object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetService Attempts to retrieve the specified type of service from the designer's component's design mode site.
protected methodInvokeGetInheritanceAttribute Gets the InheritanceAttribute of the specified ComponentDesigner.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodPostFilterAttributes Allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor.
protected methodPostFilterEvents Allows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor.
protected methodPostFilterProperties Allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor.
protected methodPreFilterAttributes Allows a designer to add to the set of attributes that it exposes through a TypeDescriptor.
protected methodPreFilterEvents Allows a designer to add to the set of events that it exposes through a TypeDescriptor.
protected methodPreFilterProperties Allows a designer to add to the set of properties that it exposes through a TypeDescriptor.
protected methodRaiseComponentChanged Notifies the IComponentChangeService that this component has been changed.
protected methodRaiseComponentChanging Notifies the IComponentChangeService that this component is about to be changed.

See Also

ComponentDesigner Class | System.ComponentModel.Design Namespace

Show: