Occurs when components are about to be created.
[Visual Basic] Public Event ComponentsCreating As _ ToolboxComponentsCreatingEventHandler [C#] public event ToolboxComponentsCreatingEventHandler ComponentsCreating; [C++] public: __event ToolboxComponentsCreatingEventHandler* ComponentsCreating;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
The event handler receives an argument of type ToolboxComponentsCreatingEventArgs containing data related to this event. The following ToolboxComponentsCreatingEventArgs property provides information specific to this event.
|DesignerHost||Gets or sets an instance of the IDesignerHost that made the request to create toolbox components.|
This event is raised each time that components of the toolbox item are about to be 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