共用方式為


Toolbox (Visual Studio SDK)

The Visual Studio Toolbox provides a collection of objects that provide functionality to editors and designers through the IDE's drag-and-drop mechanism.

There are two basic ways in which a VSPackage works with the Visual Studio Toolbox:

  • A VSPackage can add new data items and ActiveX controls to the Toolbox.

  • A VSPackage can be a target or consumer of existing Toolbox functionality, supporting the drag-and-drop operations and configuring the Toolbox's appearance.

For information about providing items to the Visual Studio Toolbox, including items of non-standard format, see Advanced Toolbox Control Development and How to: Provide Custom Toolbox Items By Using Interop Assemblies.

In This Section