My window opens at a particular size. When a user makes the window taller, I want to expand the grid control to fit the extra available space. I only want the grid control to grow with the window resize.
Is there a simple way to accomplish this? I'm using VB.Net in a Windows application.
System Info: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727
Installed Edition: Standard
SQL Server Analysis Services Microsoft SQL Server Analysis Services Designer Version 9.00.1399.00
SQL Server Integration Services Microsoft SQL Server Integration Services Designer Version 9.00.1399.00
SQL Server Reporting Services Microsoft SQL Server Reporting Services Designers Version 9.00.1399.00
To have .NET manage the size of a control when its parent is resized, set the control's Anchor property in the Layout section of the Properties window.
Thanks. I had the grid anchored to top and bottom, but forgot to anchor it's containing object as well! Both are now anchored to Top and Bottom.
> To have .NET manage the size of a control when its parent is resized, > set the control's Anchor property in the Layout section of the > Properties window.
Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...