private void Form1_Load(object sender, System.EventArgs e)
{
//行スタイルを3行単位とします
fpSpread1.ActiveSheet.AlternatingRows.Count = 3;
// 1/3行目の背景色を設定します
fpSpread1.ActiveSheet.AlternatingRows[0].BackColor = Color.LightCyan;
// 2/3行目の背景色を設定します
fpSpread1.ActiveSheet.AlternatingRows[1].BackColor = Color.LightPink;
// 3/3行目の背景色を設定します
fpSpread1.ActiveSheet.AlternatingRows[2].BackColor = Color.LightGreen;
}
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
'行スタイルを3行単位とします
FpSpread1.ActiveSheet.AlternatingRows.Count = 3
'1/3行目の背景色を設定します
FpSpread1.ActiveSheet.AlternatingRows(0).BackColor = Color.LightCyan
'2/3行目の背景色を設定します
FpSpread1.ActiveSheet.AlternatingRows(1).BackColor = Color.LightPink
'3/3行目の背景色を設定します
FpSpread1.ActiveSheet.AlternatingRows(2).BackColor = Color.LightGreen
End Sub