Compartir a través de


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.

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.

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 Places the selected buttons along the bottom-center of the dialog box
Format.ButtonRight CTRL + R Places the selected buttons in the top-right corner of the dialog box
Format.CenterHorizontal CTRL + SHIFT + F9 Centers the controls horizontally within the dialog box
Format.CenterVertical CTRL + F9 Centers the controls vertically within 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 + LEFT 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 within the dialog
Format.TestDialog CTRL + T Runs the dialog box to test appearance and behavior
Format.ToggleGuides CTRL + G Cycles 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.

Requirements

Win32

See Also

Dialog Editor