Changes

Jump to: navigation, search

Designing Forms in Visual Studio

56 bytes added, 18:42, 20 July 2007
Aligning and Sizing Groups of Controls
Visual Studio provides a number of tools to assist in aligning groups and sizing groups of controls in a form. These features are accessed using the layout toolbar. To display the layout toolbar right click on any part of the standard Visual Studio Toolbar and select ''Layout'' from the drop down menu. The resulting toolbar will appear as follows:
[[Image:Examplvisual_studio_layout_toolbar.jpg| The Visual Studio Layout Toolbar]]
Select a group of components and click on the various buttons in the toolbar to see the effect. For example, all the controls can be left or right aligned and resized to the same size, width or height. It is also possible to equally space the controls, and then increase or decrease the spacing used to separate the controls. It is also possible pace controls on top of one another and change which control appears on top of the stack (this can also be done in Visual Basic code using the BringToFront() and ''SendToBack()'' methods of the respective controls).

Navigation menu