FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス : SetStyleInfo メソッド |
'Declaration Public Overridable Sub SetStyleInfo( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal info As StyleInfo _ )
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
FarPoint.Win.Spread.StyleInfo si2;
si.BackColor = Color.LightBlue;
fpSpread1.ActiveSheet.SetStyleInfo(0, 0, si);
si2 = fpSpread1.ActiveSheet.GetStyleInfo(0, 0);
listBox1.Items.Add(si2.BackColor.ToString());
Dim si As New FarPoint.Win.Spread.StyleInfo() Dim si2 As FarPoint.Win.Spread.StyleInfo si.BackColor = Color.LightBlue FpSpread1.ActiveSheet.SetStyleInfo(0, 0, si) si2 = FpSpread1.ActiveSheet.GetStyleInfo(0, 0) ListBox1.Items.Add(si2.BackColor.ToString())