ComponentsCreated Event
Collapse the table of content
Expand the table of content

ToolboxItem.ComponentsCreated Event

Occurs immediately after components are created.

[Visual Basic]
Public Event ComponentsCreated As _
public event ToolboxComponentsCreatedEventHandler
public: __event ToolboxComponentsCreatedEventHandler*

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type ToolboxComponentsCreatedEventArgs containing data related to this event. The following ToolboxComponentsCreatedEventArgs property provides information specific to this event.

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


This event is raised each time that components of this toolbox item are created. For more information about handling events, see Consuming Events.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ToolboxItem Class | ToolboxItem Members | System.Drawing.Design Namespace | ToolboxComponentsCreatedEventHandler

© 2016 Microsoft