IToolboxUser.ToolPicked(ToolboxItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects the specified tool.
public:
void ToolPicked(System::Drawing::Design::ToolboxItem ^ tool);
public void ToolPicked (System.Drawing.Design.ToolboxItem tool);
abstract member ToolPicked : System.Drawing.Design.ToolboxItem -> unit
Public Sub ToolPicked (tool As ToolboxItem)
Parameters
- tool
- ToolboxItem
The ToolboxItem to select.
Remarks
ToolPicked is called when the user double-clicks on a toolbox item. The document designer should create a component for the specified tool. The Visual Studio integrated development environment will only call ToolPicked on tools that are enabled in the toolbox.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.