ToolboxComponentsCreatedEventArgs Class

Definition

Provides data for the ComponentsCreated event that occurs when components are added to the toolbox.

public class ToolboxComponentsCreatedEventArgs : EventArgs
Inheritance
ToolboxComponentsCreatedEventArgs

Examples

The following example method returns a ToolboxComponentsCreatedEventArgs that indicates the components that have been created:

public ToolboxComponentsCreatedEventArgs CreateToolboxComponentsCreatedEventArgs(System.ComponentModel.IComponent[] components)
{
    ToolboxComponentsCreatedEventArgs e = new ToolboxComponentsCreatedEventArgs(components);
    // The components that were just created        e.Components            
    return e;
}

Remarks

The ComponentsCreated event is raised when components are added to the toolbox. ToolboxComponentsCreatedEventArgs provides data indicating which component or components are being added.

Constructors

Properties

Components

Gets or sets an array containing the components to add to the toolbox.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also