Docking and Anchoring
If you have used prior versions of Visual Basic or even Visual C++, you are probably familiar with having to write code to correctly position controls after the user has resized one of the forms you developed. You now have additional options available to you (provided by the .NET Framework and Windows Forms) so that you can automatically position controls without having to write any code.
The first option is called Docking. Docking allows you to automatically position a control at the edge of its parent. You can dock a control to the top, bottom, left, or right edge of its parent so that the control's placement is always aligned with the edge that it is docked to.
The second option is called Anchoring. Anchoring allows you ...
Get Visual Basic® .NET by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.