Only the CellStyle.BackColor and CellStyle.Border elements of this style are used. They define the appearance of the space between the last cell and the edges of the control.
The CellBorder.Color value defines the color of the lines drawn around the edge of the sheet and between frozen and scrollable cells.