IVsToolbox Interface
Visual Studio 2010
Used to manage the Toolbox.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
The IVsToolbox type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AddActiveXItem | Allows ActiveX controls to be programmatically added to the Toolbox. |
![]() | AddItem | Adds a data object to the specified tab in the Toolbox. |
![]() | AddItemFromFile | Allows files to be programmatically added to the Toolbox. |
![]() | AddTab | Adds a new tab to the Toolbox. |
![]() | AddTabEx | Adds a new tab to the Toolbox and specifies how the tabs are viewed. |
![]() | DataUsed | Called by a designer to inform the Toolbox that the item has been pasted onto the form. |
![]() | EnumItems | Enumerates items on a given tab in the Toolbox, or all items in the Toolbox. |
![]() | EnumTabs | Enumerates through tabs in the Toolbox. |
![]() | GetData | Returns the data object for the selected item in the Toolbox. |
![]() | GetFrame | Returns the window frame for the Toolbox. |
![]() | GetTab | Returns the name of the selected tab. |
![]() | GetTabView | Returns the tab view for the specified tab. |
![]() | IsCurrentUser | Determines whether the specified Toolbox user is the current user. |
![]() | RegisterDataProvider | Registers a Toolbox data provider. |
![]() | RemoveItem | Removes an item from the Toolbox. |
![]() | RemoveTab | Removes a tab from the Toolbox. |
![]() | SelectItem | Programmatically selects an item. |
![]() | SelectTab | Programmatically selects the referenced Toolbox tab. |
![]() | SetCursor | Sets the drop cursor for the current, enabled Toolbox item. |
![]() | SetItemInfo | Sets information for the referenced item. |
![]() | SetTabView | Sets the type of view for the specified tab. |
![]() | UnregisterDataProvider | Unregisters the specified data provider. |
![]() | UpdateToolboxUI | Forces a redraw of the Toolbox UI. |
See illustrations of the implementation and/or calling of this interface in the Figures Edit.
Additional features, useful in persisting toolboxes, can be found under the IVsToolbox3 interface.
Notes to ImplementersNotes to Callers