Add a child object to a border
The Border control acts as a base for other layout objects that do not have border and border thickness properties, such as a canvas or a grid.
Before you begin
Note: You can add only one container to a border. If you drag another container to the border and add it as a child, the previous child container is overwritten.
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.
- From the Grids/Panels list, click and drag a container to the document tree and drop it on the border control.The Applying <container name> to Target Border dialog box appears, where <container name> is the type of container you are adding.
- Select the As a Child of Border option, and then click OK.
- Configure the properties, as required.Note: To view the full list of properties, select the Advanced check box.
- 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