IToolboxUser::ToolPicked Method (ToolboxItem^)

 

Selects the specified tool.

Namespace:   System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

void ToolPicked(
	ToolboxItem^ tool
)

Parameters

tool
Type: System.Drawing.Design::ToolboxItem^

The ToolboxItem to select.

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.

.NET Framework
Available since 1.1
Return to top
Show: