Category / Section
How to set the color of the empty space in the Grid’s Client area?
2 mins read
By using the GridControl.Model.Properties, you can set the background color for the empty space in the Grid’s Client area.
C#
//Color of client area to the right of last column and below the last row. gridControl1.Model.Properties.BackgroundColor = Color.Blue; //Default color of the gridlines that make up the cell borders. gridControl1.Model.Properties.GridLineColor = Color.Blue;
VB
'Color of client area to the right of last column and below the last row. gridControl1.Model.Properties.BackgroundColor = Color.Blue 'Default color of the gridlines that make up the cell borders. gridControl1.Model.Properties.GridLineColor = Color.Blue
Figure 1: Output
Sample Links: