Set up control layout
This information applies to both the WPF and Silverlight Designers. In the WPF Designer, some .NET Winforms controls (and controls written for other technologies) have the same names, but have different properties, methods, and events exposed than their WPF counterparts.
Before you begin
Procedure
- Add a layout control, such as a grid. Note: Some controls allow only a single child to be added. Add a control that allows multiple children (such as Grid, Canvas, Dock Panel, Stack Panel).
- In the designer, select the controls you want to add to the layout control, and then right-click and select Cut.
- In the Document Tree, select the layout control added in step 1, and then right-click and select Edit Layer.
- In the designer, right-click the layout control, and then select Paste.Note: If the controls are displayed in the Document Tree but not in the designer, then in the Document Tree, select each control and set its Margin property to 0 to have them appear in the designer.
- 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