Erstellen und Steuern von Umgebungsfenstern
Aktualisiert: November 2007
The Visual Studio integrated development environment (IDE) is composed of numerous tool windows. A tool window is a window created by Visual Studio, or one that can be manipulated by Visual Studio automation. The Visual Studio automation model enables you to manipulate its windows and in many cases, their contents. For example, the Toolbox window is represented by the ToolBox object, as well as the ToolBoxTabs and ToolBoxItems collections. You can use its members to add and remove tabs and Toolbox items. You can also create your own tool windows to suit your custom content.
While some tool windows, such as Solution Explorer and the Class View tool window, do not have explicit automation features, you can still manipulate the windows themselves. Solution Explorer is a tool window in the Visual Studio IDE that displays a physical, file-based depiction of your solution and its projects and their project items. Like any other tool window in Visual Studio, you can control its physical parameters, such as size, location, and whether it is docked or free-floating. Class View is a tool window that displays the symbols defined, referenced, or called in the application you are developing. For information, see Gewusst wie: Ändern des Erscheinungsbilds eines Fensters.
To learn more about |
See |
---|---|
Changing the physical characteristics of a tool window, such as its height, width, and so forth. |
|
Manipulating source code and text in the Code Editor. |
|
Automating search and replace operations in the Code Editor. |
Gewusst wie: Automatisieren des Suchens und Ersetzens von Text |
Manipulating Solution Explorer and its contents. |
|
Using the Visual Studio Code Model to discover code. |
|
Manipulating the Output window and its contents. |
|
Changing the settings in the Options dialog box on the Tools menu. |
Steuern der Einstellungen im Dialogfeld "Optionen" (Menü "Extras") |
Manipulating the Toolbox and its contents. |
|
Manipulating the Task List and its contents. |
|
Manipulating the Command window and its contents. |
|
Manipulating the Dynamic Help window and affecting attributes. |
|
Manipulating the recording of macros from within an add-in. |
|
Controlling tree views in tool windows by using the UIHierarchy object. |
Gewusst wie: Verändern von Strukturansichten mithilfe von UIHierarchy |
Creating and manipulating tool windows. |
Siehe auch
Aufgaben
Gewusst wie: Erstellen von Add-Ins
Exemplarische Vorgehensweise: Erstellen eines Assistenten
Konzepte
Steuern von Projekten und Projektmappen
Diagramm "Automationsobjektmodell"