Use grid anchors
When a control is added to a grid, the control gets an extra set of handles called anchors. These four anchors appear outside the control's blue resize handles on the top, bottom, and sides, and assist with positioning objects within the grid.
Before you begin
Note: The blue dots are the resize handles; the black/grey dots are the anchors. Black anchors indicate that the control is anchored into position. By default, the top and left anchors are set.
Procedure
- In the navigator, click .
- From the Forms list, select the resource you want to work with.
- Click .
- Click the Toolbox tab.
- Expand the control group you want to work with.
- Click and drag the control to the desired position in the Designer.Note: To apply the properties of a control to another control, click and drag the control to another control in the document tree. The Applying <control (control name)> to Target dialog box appears where you can select the option you want to use to apply to the control.
- Click the black anchors to unlock the control's position.
- Move the control to the desired position, and then click the anchors to lock the position.
- Save the form or user display.
Click Save on the... To save... toolbar locally for WPF forms; to the server for Silverlight forms title bar to the server for WPF forms