![]() |
Click here to advertise with us
|
|
|||||||
| Winforms Grids Discussion related to grid controls of all types for Winforms |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I am using VB.NET 2008. I have a dataGridView and wht i want that when form resizes the column should also be resizes. My probelm is that i have to do it programatically. beacuse grid is containes in a Panel. User can resize by two ways, etither by clicking maximize button, or by resizing the form manually at run time. Please tell me how can i achieve this. |
|
||||
|
Are you talking about resizing the grid control or the columns within the grid? Controls can resize dynamically if you set Dock or Anchor properties, columns can resize dynamically with the AutoSizeMode property of the column.
__________________
Some useful links: Learning videoes, Code Samples, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ
How to format posts with code blocks etc - present the problem/post properly ![]() |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|