Column and Row Resizing

Datagridview1 Resize

The default appearance vof the DataGridView is a modest improvement over the DataGrid. But with a few quick refinements, you can greatly improve it. One problem is that the DataGridView gives a default standard width to all columns regardless of their content. As a result, the initial appearance of the bound grid in Figure 15-1 is less than perfect, with the ModelName and Description columns too small for the data they contain. Fortunately, you can use some powerful automatic resizing...

The Collapsible Panel Control

Collapsible Panel Windows Forms

The last control you'll consider is a Windows XP standby that's finally available in the .NET world. It's a CollapsiblePanel developed by Microsoft and designed to mimic the Windows XP common task pane, which is shown on the side of many standard windows see Figure 12-7 . Figure 12-7. The common task pane in Windows XP Figure 12-7. The common task pane in Windows XP This panel has several noteworthy features It supports Windows XP themes, giving it a slick look with a detailed gradient...