GrapeCity.Win.PluginInputMan アセンブリ > GrapeCity.Win.Spread.InputMan.CellType 名前空間 > GcNumberCellType クラス : UseNegativeColor プロパティ |
'Declaration Public Property UseNegativeColor As Boolean
'使用法 Dim instance As GcNumberCellType Dim value As Boolean instance.UseNegativeColor = value value = instance.UseNegativeColor
public bool UseNegativeColor {get; set;}
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType(); ncell1.NegativeColor = Color.Red; ncell1.UseNegativeColor = true; fpSpread1.Sheets[0].Cells[1, 1].CellType = ncell1; fpSpread1.Sheets[0].Cells[1, 1].Value = -1;
Dim ncell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType() ncell1.NegativeColor = Color.Red ncell1.UseNegativeColor = True FpSpread1.Sheets(0).Cells(1, 1).CellType = ncell1 FpSpread1.Sheets(0).Cells(1, 1).Value = -1