ToolboxService::IsItemContainerSupported Method (ToolboxItemContainer^, IDesignerHost^)
.NET Framework (current version)
Determines whether the toolbox item container is supported by the given designer host.
Assembly: System.Drawing.Design (in System.Drawing.Design.dll)
protected: bool IsItemContainerSupported( ToolboxItemContainer^ container, IDesignerHost^ host )
Parameters
- container
-
Type:
System.Drawing.Design::ToolboxItemContainer^
The toolbox item container.
- host
-
Type:
System.ComponentModel.Design::IDesignerHost^
The given designer host.
Return Value
Type: System::Booleantrue if the toolbox item container is supported by the given designer host; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | container or host is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: