Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I make a control automatically grow when the parent form is resized?

Change the control's Anchor property so that it is anchored on all four sides.

Please note that you can only have one control per form anchored in this manner, i.e., on all four sides. And other controls on the form should be anchored by their sides that are not adjacent to special control anchored on all four sides.

Contributed from George Shepherd's Windows Forms FAQ



Page view counter