Windows apps
Collapse the table of content
Expand the table of content
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.

Keyboard shortcuts for XAML Designer

Visual Studio 2015
 

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 Keyboard shortcuts for XAML Designer.

Keyboard shortcuts in XAML Designer can speed up your work by reducing an action that would require multiple mouse-button clicks to a single keyboard shortcut.

This table lists the shortcuts that are available for working with elements on the artboard.

To perform this actionDo this
Create an elementPress Ctrl+N
Duplicate an elementHold down Alt and press an arrow key.
Edit the text in a controlPress F2 (press Esc to exit)
Select a single elementPress Tab to select elements in the order they appear in the document. (You can also select elements using the arrow keys.)
Select multiple elementsPress and hold Shift while selecting each element
Select multiple non-adjacent elementsPress and hold Ctrl while selecting the first and last elements
Move selected elementsPress the arrow keys (You can hold down Shift to increase the distance to move per key press.)
Rotate an element in 15-degree incrementsHold down Shift while rotating the element
Select all elementsPress Ctrl+A
Clear selection of all elementsPress Ctrl+Shift+A
Show or hide element handlesPress F9
Select a property for an elementWith an element selected and the focus on the Properties window, press Tab. (Use Ctrl+Tab to change focus to the Properties window.) You can use the arrow keys to select property values from drop-down lists.

The following table lists the shortcuts available when working with elements in the Document Outline window.

To perform this actionDo this
Hide artboard objects while focus is on the Document Outline windowCTRL + H
Unhide artboard objects while focus is on the Document Outline windowSHIFT + CTRL + H
Lock artboard objects while focus is on the Document Outline windowCTRL + L
Unlock artboard objects while focus is on the Document Outline windowSHIFT + CTRL + L

Creating a UI by using XAML Designer

Show:
© 2017 Microsoft