System.Windows.Forms.Design.DocumentDesigner.GetToolSupported Method

Indicates whether the specified tool is supported by the designer.

Syntax

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

Parameters

tool
The System.Drawing.Design.ToolboxItem to test for toolbox support.

Returns

true if the tool should be enabled on the toolbox; false if the document designer doesn't know how to use the tool.

Remarks

If a tool is supported, it will be enabled in the toolbox when the designer receives focus. Otherwise, it will be disabled. Once a tool is marked as enabled or disabled it can not be queried again.

Requirements

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