DataGridView

  • Thread starter Thread starter DaveL
  • Start date Start date
D

DaveL

Hi,
Lets Say i have 10 Rows in a GridView
and i have lots of open space on the window
another words the grid does not file my window with a grid empty rows..

How to if Fill the area when there are not enough rows to cover the canvas
area..
example:

window canvas is grey....
Datagridview is White
if i have 5 rows and 30 rows of space on the window
i have area of white and area of grey...
the size of the DataGridview is the full height of the window...but only
paints enough area for the rows available

Hope i explained that good enough
DaveL
 
I'm pretty sure you cant do this with a DataGridView without adding black
rows to the datasource. My best suggestion is to check the BackgroundColor to
SystemColors.Window so it is all white.
 
Back
Top