Turn snapping on or off (Windows Store apps)
Snapping is useful for lining objects up to each other or to evenly-spaced lines on the artboard. When moving, resizing, or drawing an object, the boundaries of the object will pull or snap into position.
Snapping does not affect the behavior of the arrow keys when you are nudging an object.
Snap grid
The snap grid gives you a set of horizontal and vertical gridlines on the artboard.
Workspace showing the snap grid turned on
To show the snap grid
Do one of the following:
In the lower-left corner of the artboard, click Show snap grid . To hide the snap grid, click the button again to see the off icon .
On the Tools menu, click Options. In the Options dialog box, click Artboard, and then select the Show snap grid check box. Click OK.
Snapping to gridlines
If Snapping to gridlines is turned on when you drag an object on the artboard, the object will snap or pull towards the closest horizontal and vertical gridlines.
To snap to gridlines
Do one of the following:
In the lower-left corner of the artboard, click Snap to gridlines . To turn off snapping to gridlines, click the button again to see the Turn off snapping icon .
On the Tools menu, click Options. In the Options dialog box, make sure that Artboard is selected on the left, and then select the Snap to gridlines check box. Click OK.
Gridline spacing
You can also change the gridline spacing.
To change gridline spacing
On the Tools menu, click Options.
In the Options dialog box, click Artboard.
Set the Gridline spacing to the value that you want. The default is 5 pixels.
Click OK.
Tip
You may want to make the Default margin value half of the Default padding value, and the Gridline spacing value equal to one of the others. This ensures that margin and padding snaplines will occur along gridlines.
Snap to snaplines
If Snapping to snaplines is turned on when you drag an object on the artboard, the object will snap to the following targets:
Important
The Snap to snaplines feature applies only to XAML-based projects.
Baselines (the base of text) |
|
Alignment boundaries, which appear on the artboard as red dashed lines |
|
Default margins |
|
Default padding, or the padding properties that are set on the parent object |
|
Column and row dividers in a grid panel |
To snap to snaplines
Do one of the following:
In the lower-left corner of the artboard, click Turn on snapping to snaplines . To turn off snapping to snaplines, click the button again to see the off icon .
On the Tools menu, click Options. In the Options dialog box, make sure that Artboard is selected on the left, and then select the Snap to snaplines check box. Click OK.
To set snapline margins and padding
On the Tools menu, click Options.
In the Options dialog box, set the Default margin and Default padding properties to the values that you want. The defaults are 5 and 10 pixels, respectively.
Click OK.
Tip
You may want to make the Default margin value half of the Default padding value, and the Gridline spacing value equal to one of the others. This ensures that margin and padding snaplines will occur along gridlines.