ToolboxComponentsCreatingEventArgs Class
Provides data for the ComponentsCreating event that occurs when components are added to the toolbox.
Assembly: System.Drawing (in System.Drawing.dll)
The ComponentsCreating event is raised when components are about to be added to the toolbox. ToolboxComponentsCreatingEventArgs provides data indicating the designer that has requested that the components be added.
The following example method returns a ToolboxComponentsCreatingEventArgs that indicates the designer host that is about to receive a new component or set of components:
Public Function CreateToolboxComponentsCreatingEventArgs(ByVal host As System.ComponentModel.Design.IDesignerHost) As ToolboxComponentsCreatingEventArgs Dim e As New ToolboxComponentsCreatingEventArgs(host) ' The designer host of the document receiving the components e.DesignerHost Return e End Function
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.