Document Outline: Windows Form Projects

Keyboard:  CTRL + ALT + T
Menu:  View -> Other Windows -> Document Outline
Command:  View.DocumentOutline
Versions:  2008,2010
Published:  11/30/2010
Code:  vstipTool0118


The Document Outline is used to get a bird's eye view of items in your project.  I've already shown you how to use it with web projects (vstipTool0116 - and WPF/Silverlight projects (vstipTool0117 -  now let's look at using it with Windows Form projects.


For this example, I've created a new Windows Forms Application and put a few sample controls on it.  Here is what the Document Outline (CTRL + ALT + T) looks like:





By clicking on any item in the list it will select the item on the Form in Design view:





Context Commands

Additionally, you can access a variety of commands by RIGHT CLICKING any item including renaming the control from the Document Outline:






View Code

You can also press F7 with any item selected to view the code for it but, interestingly, once you do, the Document Outline will not work while in Code view:





Relocate Items

The ability to move items from one container to another is supported as well:





Toolbar Controls

The toolbar supports a variety of functions:


Name Display

You an select different name display styles:




Expand / Collapse

You can expand or collapse the entire outline:




Moving Around

The toolbar even supports moving around within and between containers.  I'm personally not a big fan of them over just clicking and dragging but you may find them useful:


Comments (1)
  1. Christian says:

    What I like most about this feature is the display of custom defined toolbox bitmaps, while the toolbox itself only shows me those annoying gears during forms development.

Comments are closed.

Skip to main content