System.Windows.Forms.Design.ComponentTray.CanCreateComponentFromTool Method

Gets a value indicating whether the specified tool can be used to create a new component.

Syntax

protected virtual bool CanCreateComponentFromTool (System.Drawing.Design.ToolboxItem tool)

Parameters

tool
The System.Drawing.Design.ToolboxItem to test.

Returns

true if the specified tool can be used to create a component; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0