--- title: "How to: Reassign Existing Controls to a Different Parent" ms.date: "03/30/2017" helpviewer_keywords: - "container controls [Windows Forms], Windows Forms" - "layout [Windows Forms], resizing" - "layout [Windows Forms], child controls" ms.assetid: 5a5723ff-34e0-4b6f-a57b-be4ebe35cb34 --- # How to: Reassign existing controls to a different parent You can assign controls that exist on your form to a new container control. 1. In Visual Studio, drag three controls from the **Toolbox** onto the form. Position them near to each other, but leave them unaligned. 2. In the **Toolbox**, click the control icon. (Do not drag the icon onto the form.) 3. Move the mouse pointer close to the three controls. The pointer changes to a crosshair with the control icon attached. 4. Click and hold the mouse button. 5. Drag the mouse pointer to draw the outline of the control. 6. Draw the outline around the three controls. 7. Release the mouse button. The three controls are now inserted into the control. ## See also - - - [Walkthrough: Arranging Controls on Windows Forms Using a TableLayoutPanel](walkthrough-arranging-controls-on-windows-forms-using-a-tablelayoutpanel.md) - [Walkthrough: Arranging Controls on Windows Forms Using Snaplines](walkthrough-arranging-controls-on-windows-forms-using-snaplines.md)