IVsToolbox Interface
Used to manage the Toolbox.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("70E643E2-1673-4764-8A39-63CB1AEE0DC9")> _
Public Interface IVsToolbox
[InterfaceTypeAttribute()]
[GuidAttribute("70E643E2-1673-4764-8A39-63CB1AEE0DC9")]
public interface IVsToolbox
[InterfaceTypeAttribute()]
[GuidAttribute(L"70E643E2-1673-4764-8A39-63CB1AEE0DC9")]
public interface class IVsToolbox
[<InterfaceTypeAttribute()>]
[<GuidAttribute("70E643E2-1673-4764-8A39-63CB1AEE0DC9")>]
type IVsToolbox = interface end
public interface IVsToolbox
The IVsToolbox type exposes the following members.
Methods
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. |
Top
Remarks
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 Implementers
Notes to Callers