Export (0) Print
Expand All

IVsToolbox2 Interface

Used to manage the Toolbox.

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

[InterfaceTypeAttribute()]
[GuidAttribute("08E728DC-9C45-4060-A243-B73443B7CA16")]
public interface IVsToolbox2 : IVsToolbox

The IVsToolbox2 type exposes the following members.

  NameDescription
Public methodAddActiveXItemAllows ActiveX controls to be programmatically added to the Toolbox.
Public methodAddActiveXItem2Adds an ActiveX item to the Toolbox.
Public methodAddItemAdds a data object to the specified tab in the Toolbox.
Public methodAddItem2Adds an item to the referenced Toolbox tab, specifying a package GUID.
Public methodAddItemFromFileAllows files to be programmatically added to the Toolbox.
Public methodAddItemFromFile2Adds an item to the Toolbox from a file, specifying a package GUID.
Public methodAddTabAdds a new tab to the Toolbox.
Public methodAddTab2Adds a tab to the Toolbox, specifying the tab view.
Public methodAddTabExAdds a new tab to the Toolbox and specifies how the tabs are viewed.
Public methodAddTabEx2Adds a tab to the Toolbox, specifying a tab view and a package GUID.
Public methodDataUsedCalled by a designer to inform the Toolbox that the item has been pasted onto the form.
Public methodEnumItemsEnumerates items on a given tab in the Toolbox, or all items in the Toolbox.
Public methodEnumTabsEnumerates through tabs in the Toolbox.
Public methodGetDataReturns the data object for the selected item in the Toolbox.
Public methodGetFrameReturns the window frame for the Toolbox.
Public methodGetTabReturns the name of the selected tab.
Public methodGetTabViewReturns the tab view for the specified tab.
Public methodIsCurrentUserDetermines whether the specified Toolbox user is the current user.
Public methodRegisterDataProviderRegisters a Toolbox data provider.
Public methodRemoveItemRemoves an item from the Toolbox.
Public methodRemoveTabRemoves a tab from the Toolbox.
Public methodSelectItemProgrammatically selects an item.
Public methodSelectTabProgrammatically selects the referenced Toolbox tab.
Public methodSetCursorSets the drop cursor for the current, enabled Toolbox item.
Public methodSetItemInfoSets information for the referenced item.
Public methodSetTabViewSets the type of view for the specified tab.
Public methodUnregisterDataProviderUnregisters the specified data provider.
Public methodUpdateToolboxUIForces a redraw of the Toolbox UI.
Top

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 Callers

Called by editors, projects, and other objects that want to manipulate the shared Toolbox user interface.

Community Additions

ADD
Show:
© 2014 Microsoft