DocumentDesigner.ToolPicked(ToolboxItem) DocumentDesigner.ToolPicked(ToolboxItem) DocumentDesigner.ToolPicked(ToolboxItem) DocumentDesigner.ToolPicked(ToolboxItem) Method

Definition

Important

This API is not CLS-compliant.

Selects the specified tool.

protected:
 virtual void ToolPicked(System::Drawing::Design::ToolboxItem ^ tool);
[System.CLSCompliant(false)]
protected virtual void ToolPicked (System.Drawing.Design.ToolboxItem tool);
abstract member ToolPicked : System.Drawing.Design.ToolboxItem -> unit
override this.ToolPicked : System.Drawing.Design.ToolboxItem -> unit
Protected Overridable Sub ToolPicked (tool As ToolboxItem)

Parameters

tool
ToolboxItem ToolboxItem ToolboxItem ToolboxItem

The ToolboxItem to create a component for.

Implements

Remarks

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.

Applies to

See also