ToolboxService::GetToolboxItem Method (Type^)
.NET Framework (current version)
Returns a toolbox item for a given type.
Assembly: System.Drawing.Design (in System.Drawing.Design.dll)
Parameters
- toolType
-
Type:
System::Type^
The type of component for which to retrieve the toolbox item.
Return Value
Type: System.Drawing.Design::ToolboxItem^A toolbox item associated with the given type, or null if the type has no corresponding toolbox item.
| Exception | Condition |
|---|---|
| ArgumentNullException | toolType is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: