ComponentTray::CanCreateComponentFromTool Method (ToolboxItem^)

 

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

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

protected:
virtual bool CanCreateComponentFromTool(
	ToolboxItem^ tool
)

Parameters

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

The ToolboxItem to test.

Return Value

Type: System::Boolean

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

.NET Framework
Available since 1.1
Return to top
Show: