IVsToolbox Interface

 

Used to manage the Toolbox.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("70E643E2-1673-4764-8A39-63CB1AEE0DC9")]
public interface IVsToolbox

NameDescription
System_CAPS_pubmethodAddActiveXItem(Guid, String, IVsHierarchy)

Allows ActiveX controls to be programmatically added to the Toolbox.

System_CAPS_pubmethodAddItem(IDataObject, TBXITEMINFO[], String)

Adds a data object to the specified tab in the Toolbox.

System_CAPS_pubmethodAddItemFromFile(String, IVsHierarchy, Int32)

Allows files to be programmatically added to the Toolbox.

System_CAPS_pubmethodAddTab(String)

Adds a new tab to the Toolbox.

System_CAPS_pubmethodAddTabEx(String, VSTBXTABVIEW)

Adds a new tab to the Toolbox and specifies how the tabs are viewed.

System_CAPS_pubmethodDataUsed()

Called by a designer to inform the Toolbox that the item has been pasted onto the form.

System_CAPS_pubmethodEnumItems(String, IEnumToolboxItems)

Enumerates items on a given tab in the Toolbox, or all items in the Toolbox.

System_CAPS_pubmethodEnumTabs(IEnumToolboxTabs)

Enumerates through tabs in the Toolbox.

System_CAPS_pubmethodGetData(IDataObject)

Returns the data object for the selected item in the Toolbox.

System_CAPS_pubmethodGetFrame(IVsWindowFrame)

Returns the window frame for the Toolbox.

System_CAPS_pubmethodGetTab(String)

Returns the name of the selected tab.

System_CAPS_pubmethodGetTabView(String, VSTBXTABVIEW[])

Returns the tab view for the specified tab.

System_CAPS_pubmethodIsCurrentUser(IVsToolboxUser, Int32)

Determines whether the specified Toolbox user is the current user.

System_CAPS_pubmethodRegisterDataProvider(IVsToolboxDataProvider, UInt32)

Registers a Toolbox data provider.

System_CAPS_pubmethodRemoveItem(IDataObject)

Removes an item from the Toolbox.

System_CAPS_pubmethodRemoveTab(String)

Removes a tab from the Toolbox.

System_CAPS_pubmethodSelectItem(IDataObject)

Programmatically selects an item.

System_CAPS_pubmethodSelectTab(String)

Programmatically selects the referenced Toolbox tab.

System_CAPS_pubmethodSetCursor()

Sets the drop cursor for the current, enabled Toolbox item.

System_CAPS_pubmethodSetItemInfo(IDataObject, TBXITEMINFO[])

Sets information for the referenced item.

System_CAPS_pubmethodSetTabView(String, VSTBXTABVIEW)

Sets the type of view for the specified tab.

System_CAPS_pubmethodUnregisterDataProvider(UInt32)

Unregisters the specified data provider.

System_CAPS_pubmethodUpdateToolboxUI()

Forces a redraw of the Toolbox UI.

See illustrations of the implementation and/or calling of this interface in the .f08872bd-fd9c-4e36-8cf2-a2a2622ef986

Additional features, useful in persisting toolboxes, can be found under the IVsToolbox3 interface.

Notes to Implementers:

Notes to Callers:

Return to top
Show: