ComponentTray::CreateComponentFromTool Method (ToolboxItem^)
.NET Framework (current version)
Creates a component from the specified toolbox item, adds the component to the current document, and displays a representation for the component in the component tray.
Assembly: System.Design (in System.Design.dll)
Parameters
- tool
-
Type:
System.Drawing.Design::ToolboxItem^
The ToolboxItem to create a component from.
This method checks the item for an appropriate DesignTimeVisibleAttribute before attempting to create the component and add it to the component tray.
.NET Framework
Available since 1.1
Available since 1.1
Show: