Windows Develop Bookmark and Share   
 index > Windows Forms General > Re-sizing datagrid when window is maximized? .NET1.1
 

Re-sizing datagrid when window is maximized? .NET1.1

A couple of questions.

How do I configure a window so that it will open as maximized by default?

How do I configure a datagrid so that when it'scontaining window, the datagrid will automatically fill up the area made available by the maximization?

Cheers for your help.

Kev

kevM  Monday, December 18, 2006 3:46 PM
1] Set the form's WindowState property to Maximized in the designer.
2] Anchor the grid to all four edges.
nobugz  Monday, December 18, 2006 4:45 PM
1] Set the form's WindowState property to Maximized in the designer.
2] Anchor the grid to all four edges.
nobugz  Monday, December 18, 2006 4:45 PM

You can use google to search for other answers

Custom Search

More Threads

• Dot Net Combobox: How to stop accept item not in list & display multi-column
• Form.ShowDialog raised IndexOutOfRangeException
• Debugging code - watch variables
• UI not responsive when using Backgroundworker
• Strange Behavior on Embedding a CMainFrame inside a managed tab control...
• Executing embedded JavaScript in SVG within a webBrowser control?
• Inserting value in ListView Contorl
• Getting Different Column Value from ComboBox SelectedIndexChanged
• correct identification Node and building treeview
• Can someone please help me convert the following C# Calss to VB