ToolboxService.IsItemContainerSupported Method (ToolboxItemContainer, IDesignerHost)

 

Determines whether the toolbox item container is supported by the given designer host.

Namespace:   System.Drawing.Design
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.Boolean

true 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
Return to top
Show: