DocumentDesigner::ToolPicked Method (ToolboxItem^)

 

Selects the specified tool.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

protected:
virtual void ToolPicked(
	ToolboxItem^ tool
)

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
Return to top
Show: