I have an empty DataGridView on my form that has a height and width of say "x" pixels. When I maximize my form, the empty DataGridView still has the same width and height attributes. Is there any way for the empty DataGridView to auto resize when I maximize my form to have the same height but now a different width because the form was maximized?
charlesd1181 Wednesday, January 14, 2009 1:23 PM
charlesd1181 said:
...] Is there any way for the empty DataGridView to auto resize when I maximize my form [...
The same as for any control:
Use the Anchor property (available in designer) or Dock property (also available in designer)