FarPoint.Win.Spread.SheetView sv;
FarPoint.Win.Spread.StyleInfo si;
FarPoint.Win.Spread.StyleInfo si2;
si.BackColor = Color.LightBlue;
sv = fpSpread1.ActiveSheet;
sv.SetStyleInfo(0, 0, si);
si2 = fpSpread1.ActiveSheet.GetStyleInfo(0, 0);
MessageBox.Show("The backcolor of the style info is " + si2.BackColor.ToString());
Dim sv As FarPoint.Win.Spread.SheetView
Dim si As New FarPoint.Win.Spread.StyleInfo
Dim si2 As FarPoint.Win.Spread.StyleInfo
si.BackColor = Color.LightBlue
sv = FpSpread1.ActiveSheet
sv.SetStyleInfo(0, 0, si)
si2 = FpSpread1.ActiveSheet.GetStyleInfo(0, 0)
MessageBox.Show("The backcolor of the style info is " & si2.BackColor.ToString())