System.Drawing.Design.IToolboxService: Method Members

The methods of System.Drawing.Design.IToolboxService are listed below. For a list of all members, see the IToolboxService Members list.

Public Methods

AddCreator(ToolboxItemCreatorCallback, string)

Adds a new toolbox item creator for a specified data format.

AddCreator(ToolboxItemCreatorCallback, string, System.ComponentModel.Design.IDesignerHost)

Adds a new toolbox item creator for a specified data format and designer host.

AddLinkedToolboxItem(ToolboxItem, System.ComponentModel.Design.IDesignerHost)

Adds the specified project-linked toolbox item to the toolbox.

AddLinkedToolboxItem(ToolboxItem, string, System.ComponentModel.Design.IDesignerHost)

Adds the specified project-linked toolbox item to the toolbox in the specified category.

AddToolboxItem(ToolboxItem)

Adds the specified toolbox item to the toolbox.

AddToolboxItem(ToolboxItem, string)

Adds the specified toolbox item to the toolbox in the specified category.

DeserializeToolboxItem(object) : ToolboxItem

Gets a toolbox item from the specified object that represents a toolbox item in serialized form.

DeserializeToolboxItem(object, System.ComponentModel.Design.IDesignerHost) : ToolboxItem

Gets a toolbox item from the specified object that represents a toolbox item in serialized form, using the specified designer host.

GetSelectedToolboxItem() : ToolboxItem

Gets the currently selected toolbox item.

GetSelectedToolboxItem(System.ComponentModel.Design.IDesignerHost) : ToolboxItem

Gets the currently selected toolbox item if it is available to all designers, or if it supports the specified designer.

GetToolboxItems() : ToolboxItemCollection

Gets the entire collection of toolbox items from the toolbox.

GetToolboxItems(System.ComponentModel.Design.IDesignerHost) : ToolboxItemCollection

Gets the collection of toolbox items that are associated with the specified designer host from the toolbox.

GetToolboxItems(string) : ToolboxItemCollection

Gets a collection of toolbox items from the toolbox that match the specified category.

GetToolboxItems(string, System.ComponentModel.Design.IDesignerHost) : ToolboxItemCollection

Gets the collection of toolbox items that are associated with the specified designer host and category from the toolbox.

IsSupported(object, ICollection) : bool

Gets a value indicating whether the specified object which represents a serialized toolbox item matches the specified attributes.

IsSupported(object, System.ComponentModel.Design.IDesignerHost) : bool

Gets a value indicating whether the specified object which represents a serialized toolbox item can be used by the specified designer host.

IsToolboxItem(object) : bool

Gets a value indicating whether the specified object is a serialized toolbox item.

IsToolboxItem(object, System.ComponentModel.Design.IDesignerHost) : bool

Gets a value indicating whether the specified object is a serialized toolbox item, using the specified designer host.

Refresh()

Refreshes the state of the toolbox items.

RemoveCreator(string)

Removes a previously added toolbox item creator of the specified data format.

RemoveCreator(string, System.ComponentModel.Design.IDesignerHost)

Removes a previously added toolbox creator that is associated with the specified data format and the specified designer host.

RemoveToolboxItem(ToolboxItem)

Removes the specified toolbox item from the toolbox.

RemoveToolboxItem(ToolboxItem, string)

Removes the specified toolbox item from the toolbox.

SelectedToolboxItemUsed()

Notifies the toolbox service that the selected tool has been used.

SerializeToolboxItem(ToolboxItem) : object

Gets a serializable object that represents the specified toolbox item.

SetCursor() : bool

Sets the current application's cursor to a cursor that represents the currently selected tool.

SetSelectedToolboxItem(ToolboxItem)

Selects the specified toolbox item.