ToolboxService.IToolboxService.GetSelectedToolboxItem Method (IDesignerHost)


For a description of this member, see the IToolboxService.GetSelectedToolboxItem method.

Namespace:   System.Drawing.Design
Assembly:  System.Drawing.Design (in System.Drawing.Design.dll)

ToolboxItem IToolboxService.GetSelectedToolboxItem(
	IDesignerHost host


Type: System.ComponentModel.Design.IDesignerHost

The IDesignerHost that the selected tool must be associated with for it to be returned.

Return Value

Type: System.Drawing.Design.ToolboxItem

The ToolboxItem that is currently selected, or null if no toolbox item is currently selected.

This member is an explicit interface member implementation. It can be used only when the ToolboxService instance is cast to an IToolboxService interface.

.NET Framework
Available since 2.0
Return to top