private void Form1_Load(object sender, System.EventArgs e)
{
//列ヘッダ全体の背景色/テキスト色を設定します
fpSpread1.ActiveSheet.ColumnHeader.Rows[0].BackColor = Color.Red;
fpSpread1.ActiveSheet.ColumnHeader.Rows[0].ForeColor = Color.White;
//2行目ヘッダの背景色を設定します
fpSpread1.ActiveSheet.RowHeader.Cells[1, 0].BackColor = Color.Yellow;
}
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
'列ヘッダ全体の背景色/テキスト色を設定します
FpSpread1.ActiveSheet.ColumnHeader.Rows(0).BackColor = Color.Red
FpSpread1.ActiveSheet.ColumnHeader.Rows(0).ForeColor = Color.White
'2行目ヘッダの背景色を設定します
FpSpread1.ActiveSheet.RowHeader.Cells(1, 0).BackColor = Color.Yellow
End Sub