Accelerator Keys for the Dialog Editor

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Accelerator Keys for the Dialog Editor.

The latest version of this topic can be found at Accelerator Keys for the Dialog Editor.

Below are the default accelerator keys for the Dialog editor commands. To change shortcut keys, click Options on the Tools menu, then choose Keyboard under the Environment folder. For more information, see Identifying and Customizing Keyboard Shortcuts.

System_CAPS_ICON_note.jpg Note

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, choose Import and Export Settings on the Tools menu. For more information, see Customizing Development Settings in Visual Studio.

CommandKeysDescription
Format.AlignBottomsCTRL + SHIFT + DOWN ARROWAligns the bottom edges of the selected controls with the dominant control
Format.AlignCentersSHIFT + F9Aligns the vertical centers of the selected controls with the dominant control
Format.AlignLeftsCTRL + SHIFT + LEFT ARROWAligns the left edges of the selected controls with the dominant control
Format.AlignMiddlesF9Aligns the horizontal centers of the selected controls with the dominant control
Format.AlignRightsCTRL + SHIFT + RIGHT ARROWAligns the right edges of the selected controls with the dominant control
Format.AlignTopsCTRL + SHIFT + UP ARROWAligns the top edges of the selected controls with the dominant control
Format.ButtonBottomCTRL + BPlaces the selected buttons along the bottom-center of the dialog box
Format.ButtonRightCTRL + RPlaces the selected buttons in the top-right corner of the dialog box
Format.CenterHorizontalCTRL + SHIFT + F9Centers the controls horizontally within the dialog box
Format.CenterVerticalCTRL + F9Centers the controls vertically within the dialog box
Format.CheckMnemonicsCTRL + MChecks uniqueness of mnemonics
Format.SizeToContentSHIFT + F7Resizes the selected control(s) to fit the caption text
Format.SpaceAcrossALT + LEFT ARROWEvenly spaces the selected controls horizontally
Format.SpaceDownALT + DOWN ARROWEvenly spaces the selected controls vertically
Format.TabOrderCTRL + DSets the order of controls within the dialog
Format.TestDialogCTRL + TRuns the dialog box to test appearance and behavior
Format.ToggleGuidesCTRL + GCycles between no grid, guidelines, and grid for dialog editing

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Win32

Dialog Editor

Show: