DocumentDesigner::ToolPicked Method (ToolboxItem^)
.NET Framework (current version)
Selects the specified tool.
Assembly: System.Design (in System.Design.dll)
Parameters
- tool
-
Type:
System.Drawing.Design::ToolboxItem^
The ToolboxItem to create a component for.
ToolPicked is called when the user double-clicks on a toolbox item. The document designer should create a component for the specified tool. Only tools that are enabled in the toolbox will be passed to this method.
.NET Framework
Available since 1.1
Available since 1.1
Show: