Visual Studio 2013: Drag and Drop Code Onto the Toolbox

This is another feature that has been around for a while but a lot of people don’t know about. Got code you use all the time?  Start using the Toolbox for more than just controls.  When you are in the Editor the Toolbox looks like this:   This is a vast expanse of opportunity!  Just…


Searching in the Toolbox

Keyboard:  CTRL + ALT + X (view toolbox); / (collapse all); * (expand all); TAB (next result); ESC (cancel)Versions:  2010Published:  11/18/2010Code:  vstipTool0114   This is one we have been waiting for a long time:  searching the Toolbox!  Just go to the Toolbox (CTRL + ALT + X):     Now start typing the name of…


Stop the Toolbox from Auto-Populating from the Solution

Menu:  Tools -> Options -> Windows Forms DesignerVersions:  2008,2010Published:  9/20/2010Code:  vstipTool0090   Make sure to check out the Windows Phone Developer Portal!   If you find that the Toolbox is taking a long time scanning a solution with a lot of projects in it, you can keep it from doing this.  Just go to Tools…


Show All Toolbox Controls

Menu:  RIGHT CLICK -> Show AllCommand:  Tools.ShowAllVersions:  2008,2010Published:  8/1/2010Code:  vstipTool0060   If you ever just want to see all the controls that are on the Toolbox, you can RIGHT CLICK the Toolbox and select “Show All”:   This will reveal all the controls regardless of context:


Working with Tabs in the Toolbox

Versions:  2008,2010Published:  7/12/2010Code:  vstipTool0054   The Toolbox is a pretty cool place:   One of the most awesome features is the ability to organize items inside it by using tabs.  To create a custom tab, RIGHT CLICK inside the Toolbox and choose “Add Tab”:   Just type in a name for your new tab and…


Icon vs List View in the Toolbox

Versions:  2008,2010Published:  7/11/2010Code:  vstipTool0053   The default view of items in the Toolbox is the List View:   You can change this to the Icon View if you desire.  Simply RIGHT CLICK on the Toolbox and deselect the List View option:   To get this result:


Sorting Items in the Toolbox

Versions:  2008,2010Published:  7/10/2010Code:  vstipTool0052   If you don’t like the default sort order for items in the Toolbox:   You can RIGHT CLICK the Toolbox and choose to sort the items alphabetically:   And the items will be sorted accordingly:


Navigate Among Control Groups in the Toolbox

Keyboard:  CTRL + [UP, DOWN] ARROWVersions:  2008,2010Published:  7/9/2010Code:  vstipTool0051   You can jump between control groups in the Toolbox:   Just press CTRL + [UP, DOWN] ARROW to navigate:   When you use CTRL + DOWN ARROW it will expand the next control group and jump to the first item in that group.  Interestingly, when…


Expand and Collapse All in the Toolbox

Keyboard:  * (expand all); / (collapse all)Versions:  2008,2010Published:  7/8/2010Code:  vstipTool0050   You can quickly expand the entire Toolbox by pressing * when it is active:   You can also collapse the entire Toolbox by pressing / when it is active:


Drag and drop code onto the Toolbox

Versions:  2008,2010Published:  1/24/2010Code:  vstipTool0007   Got code you use all the time?  Have you been keeping a closet .TXT file to get your code from?  Well it’s time to liberate yourself!  Start using the Toolbox for more than just controls.  When you are in the Editor the Toolbox looks like this:   This is a…