Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Use the Keyboard Exclusively

Visual Studio provides many default shortcut key combinations to make it easy to navigate and code within the integrated development environment (IDE). For a full listing of shortcut keys used in Visual Studio, see Shortcut Keys. For information on keyboard shortcuts available for other Microsoft products, see http://www.microsoft.com/enable/products/keyboard.aspx.

NoteNote:

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

You can add a control on the Toolbox to a form or designer using the keyboard.

To add controls from the Toolbox to a designer from the keyboard

  1. Press CTRL+ALT+X to display the Toolbox window.

  2. Use CTRL + UP ARROW or CTRL + DOWN ARROW to move to the correct Toolbox tab.

  3. Use UP ARROW or DOWN ARROW to move to the correct control.

  4. After the control is selected, press ENTER.

The control is added to the form or designer.

You can move among the options in a dialog and change option settings using the keyboard.

To set dialog box options from the keyboard

  1. Use TAB or SHIFT + TAB to move up and down through the controls in the dialog box.

  2. To change option settings:

    • For radio buttons, use UP ARROW and DOWN ARROW to change the selection.

    • For check boxes, use SPACEBAR to select or unselect.

    • For drop-down lists, use ALT + DOWN ARROW to display items and then use UP ARROW and DOWN ARROW to change the selected item.

    • For buttons, press ENTER to invoke.

    • For grids, use the Arrow keys to navigate. For drop-down lists in grids, use SHIFT + ALT + DOWN ARROW to display items and then use UP ARROW and DOWN ARROW to change the selected item.

The IDE provides several ways for you to move among open tool and document windows using the keyboard. You can also move and dock tool windows in different locations using the keyboard.

To navigate among windows and files in the IDE from the keyboard

  • To move among files in an editor or designer, use CTRL + TAB.

  • To move among docked tool windows, use ALT+F7.

To move and dock tool windows from the keyboard

  1. Navigate to the tool window you intend to move and give it focus.

  2. On the Window menu, click Dockable.

  3. Press ALT + Space and then choose Move.

    The docking guide diamond appears.

  4. Use the ARROW keys to move the window to a new location.

    The mouse pointer moves with the window as you use the ARROW keys.

  5. When you have reached the new location, use the ARROW keys to move the mouse pointer over the correct portion of the guide diamond.

    An outline of the tool window appears in the new docking location.

  6. Press ENTER.

    The tool window snaps into place at the new docking location.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft