FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス > SetFormulaConditionalFormat メソッド : SetFormulaConditionalFormat(Int32,Int32,Int32,Int32,NamedStyle,String) メソッド |
FarPoint.Win.Spread.NamedStyle style = new FarPoint.Win.Spread.NamedStyle(); style.BackColor = Color.Cyan; fpSpread1.ActiveSheet.SetFormulaConditionalFormat(0, 0, 2, 2, style, "A1 = 10"); fpSpread1.ActiveSheet.Cells[0, 0].Value = 10;
Dim style As New FarPoint.Win.Spread.NamedStyle style.BackColor = Color.Cyan FpSpread1.ActiveSheet.SetFormulaConditionalFormat(0, 0, 2, 2, style, "A1 = 10") FpSpread1.ActiveSheet.Cells(0, 0).Value = 10