Changes

Jump to: navigation, search

Designing Forms in Visual Studio

656 bytes added, 17:17, 20 July 2007
Positioning Controls Using Snap Lines
== Positioning Controls Using Snap Lines ==
 
One of the key objectives in designing esthetically pleasing forms is getting controls aligned. One way to make the task of aligning controls involves the use of "Snap Lines" in Visual Studio. When activated, the Snap Lines feature causes a line to be drawn between an edge of the control you are currently moving and the corresponding edge of the closest control on the form when the edges are in alignment.
 
To active Snap Lines select ''Options...'' from the ''Tools'' menu, click on ''Windows Form Designer'' in the tree to the left of the Options dialog and configure the following settings:
 
Layout Mode: SnapLines
SnapToGrid: False
ShowGrid: False

Navigation menu