How to Set the Background Color for a Grid in WinForms GridControl

15 Jun 20211 minute to read


To set the BackColor for the area of the grid populated by cells, you must set the grid.BackColor property to the color. The grid display may also have regions where there are no cells. These regions will be the grid’s client area where there are no cells or scrollbars.

grid.BackColor = Color.Blue;

grid.Properties.BackgroundColor = Color.Orange;
grid.BackColor = Color.Blue

grid.Properties.BackgroundColor = Color.Orange

Set Background in WinForms GridControl