Share via


Control Manipulation Shortcut Keys, Visual C# Scheme

The following shortcut key combinations can be used to move, select, and change the size of controls on design surfaces.

Note

When you select Visual C# Development Settings in the Import and Export Settings Wizard, the Visual C# 2005 keyboard mapping scheme is applied. Visual C# 2005 is the current keyboard mapping scheme. This is the keyboard mapping scheme that is applied to the integrated development environment (IDE) at initial startup. For more information, see How to: Change Select Settings.

To switch to the Visual C# keyboard mapping scheme

  1. On the Tools menu, click Options.

  2. Expand Environment, and then click Keyboard.

  3. Select Visual C# 2005 from the Apply the following application keyboard mapping scheme drop-down list.

Command Name

Shortcut Keys

Description

Edit.MoveControlDown

DOWN ARROW

Moves the selected control down in increments of 1 pixel on the design surface.

Edit.MoveControlDownGrid

CTRL + DOWN ARROW

Moves the selected control down in increments of 8 pixels on the design surface.

Edit.MoveControlLeft

LEFT ARROW

Moves the control to the left in increments of 1 pixel on the design surface.

Edit.MoveControlLeftGrid

CTRL + LEFT ARROW

Moves the control to the left in increments of 8 pixels on the design surface.

Edit.MoveControlRight

RIGHT ARROW

Moves the control to the right in increments of 1 pixel on the design surface.

Edit.MoveControlRightGrid

CTRL + RIGHT ARROW

Moves the control to the right in increments of 8 pixels on the design surface.

Edit.MoveControlUp

UP ARROW

Moves the control up in increments of 1 pixel on the design surface.

Edit.MoveControlUpGrid

CTRL + UP ARROW

Moves the control up in increments of 8 pixels on the design surface.

Edit.SelectNextControl

TAB

Moves to the next control on the page based on the Tabindex property of the control.

Edit.SelectPreviousControl

SHIFT + TAB

Moves back to the previously selected control on the page.

Edit.ShowTileGrid

ENTER

Displays the grid on the design surface.

Edit.SizeControlDown

SHIFT + DOWN ARROW

Increases the height of the control in increments of 1 pixel on the design surface.

Edit.SizeControlDownGrid

CTRL + SHIFT + DOWN ARROW

Increases the height of the control in increments of 8 pixels on the design surface.

Edit.SizeControlLeft

SHIFT + LEFT ARROW

Reduces the width of the control in increments of 1 pixel on the design surface.

Edit.SizeControlLeftGrid

CTRL + SHIFT + LEFT ARROW

Reduces the width of the control in increments of 8 pixels on the design surface.

Edit.SizeControlRight

SHIFT + RIGHT ARROW

Increases the width of the control in increments of 1 pixel on the design surface.

Edit.SizeControlRightGrid

CTRL + SHIFT + RIGHT ARROW

Increases the width of the control in increments of 8 pixels on the design surface.

Edit.SizeControlUp

SHIFT + UP ARROW

Decreases the height of the control in increments of 1 pixel on the design surface.

Edit.SizeControlUpGrid

CTRL + SHIFT + UP ARROW

Decreases the height of the control in increments of 8 pixels on the design surface.

See Also

Concepts

Visual C# Default Shortcut Keys