|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
How to: Align Multiple Controls on Windows Forms
To standardize the layout of the user interface (UI) of your Windows-based application, you can position groups of controls with a single command.
The dialog boxes and menu commands you see might differ from those 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 Visual Studio Settings.
To align multiple controls on a form
Open the form containing the controls you want to position in the Windows Forms Designer.
Select the controls you want to align so that the first control you select is the primary control to which the others should be aligned.
On the Format menu, point to Align, and then click one of the seven choices available.