NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IToolboxService Members

Methods

AddCreator Adds a new toolbox item creator. A toolbox item creator is used to handle data formats other than the standard native format of the toolbox service. Normally, the standard toolbox service format should be used, as it provides ample opportunity for customization in an object-oriented way. However, there are times when a legacy data format may need to be supported. A toolbox item creator is the mechanism by which these legacy data formats may be converted into toolbox items.
AddLinkedTool Overloaded. [To be supplied.]
AddTool Overloaded. [To be supplied.]
GetCategoryNames Returns the names of all the tool categories currently on the toolbox
GetDataObjectForTool Retrieves a data object representing the given toolbox item. The data object can then be used to save the item to the clipboard, or for drag and drop.
GetSelectedCategory Returns the name of the currently selected tool category from the toolbox
GetSelectedTool Retrieves the currently selected tool.
GetToolboxItem Retrieves a toolbox item from a data object. This is useful if you are implementing your own drag and drop functionality for toolbox items.
GetTools Overloaded. [To be supplied.]
IsToolboxItem Determines if the given data object is a toolbox item.
Refresh Causes the toolbox to refresh the state of it's items.
RemoveCreator Removes a previously added toolbox creator.
RemoveTool Overloaded. [To be supplied.]
ResetDefaultTools Causes the Toolbox to reset to it's default contents
SelectedToolUsed Call this method to notify the toolbox that the selected tool has been used. Generally after a tool is selected and used, it is automatically unselected.
SetCursor This sets the current application's cursor to a cursor that represents the currently selected tool. If no tool is selected this will default to the standard Windows cursor.
SetSelectedCategory Sets the currently selected category in the toolbox. This will throw an exception if the category you are requesting is not on the toolbox.
SetSelectedTool Sets the currently selected tool in the toolbox. This will throw an exception if the class you are requesting is not on the toolbox.

See Also

IToolboxService Interface | System.WinForms.Design Namespace