Visual C# Development Environment 
Dialog Editor Shortcut Keys, Visual C# 2005 Scheme 

The following table includes the default keyboard shortcuts for the Dialog editor commands. To change shortcut keys, click Options on the Tools menu, expand Environment, and then click Keyboard. For more information, see How to: Work with Shortcut Key Combinations.

NoteNote

The options available in dialog boxes, and the names and locations of menu commands you see, might differ from what is described in Help depending on your active settings or edition. To change your settings, click Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Command Keys Description

Format.AlignBottoms

CTRL + SHIFT + DOWN ARROW

Aligns the bottom edges of the selected controls with the dominant control.

Format.AlignCenters

SHIFT + F9

Aligns the vertical centers of the selected controls with the dominant control.

Format.AlignLefts

CTRL + SHIFT + LEFT ARROW

Aligns the left edges of the selected controls with the dominant control.

Format.AlignMiddles

F9

Aligns the horizontal centers of the selected controls with the dominant control.

Format.AlignRights

CTRL + SHIFT + RIGHT ARROW

Aligns the right edges of the selected controls with the dominant control.

Format.AlignTops

CTRL + SHIFT + UP ARROW

Aligns the top edges of the selected controls with the dominant control.

Format.ButtonBottom

CTRL + B

Positions the selected buttons along the bottom-center of the dialog box.

Format.ButtonRight

CTRL + R

Positions the selected buttons in the top-right corner of the dialog box.

Format.CenterHorizontal

CTRL + SHIFT + F9

Centers the controls horizontally in the dialog box.

Format.CenterVertical

CTRL + F9

Centers the controls vertically in the dialog box.

Format.CheckMnemonics

CTRL + M

Checks uniqueness of mnemonics.

Format.SizeToContent

SHIFT + F7

Resizes the selected control(s) to fit the caption text.

Format.SpaceAcross

ALT + RIGHT ARROW

Evenly spaces the selected controls horizontally.

Format.SpaceDown

ALT + DOWN ARROW

Evenly spaces the selected controls vertically.

Format.TabOrder

CTRL + D

Sets the order of controls in the dialog box.

Format.TestDialog

CTRL + T

Runs the dialog box to test appearance and behavior.

Format.ToggleGuides

CTRL + G

Cycles among no grid, guidelines, and grid for dialog editing.

For information about how to add resources to managed projects, see Resources in Applications in the .NET Framework Developer's Guide. For information about how to manually add resource files to managed projects, access resources, display static resources, and assign resource strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

See Also