ComponentDocumentDesigner::GetToolSupported Method (ToolboxItem^)
.NET Framework (current version)
Gets a value indicating whether the specified tool is supported by the designer.
Assembly: System.Design (in System.Design.dll)
Parameters
- tool
-
Type:
System.Drawing.Design::ToolboxItem^
The ToolboxItem to test for toolbox support.
Return Value
Type: System::Booleantrue if the tool should be enabled on the toolbox; false if the document designer doesn't know how to use the tool.
If a tool is supported, it will be enabled in the toolbox when the designer regains focus. Otherwise, it will be disabled. Once a tool is marked as enabled or disabled it cannot be queried again.
.NET Framework
Available since 1.1
Available since 1.1
Show: