次のサンプルコードは、ユーザーがセルに正の値を入力できるようにします。
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
ncell1.ValueSign = GrapeCity.Win.Spread.InputMan.CellType.ValueSignControl.Positive;
fpSpread1.Sheets[0].Cells[1, 1].CellType = ncell1;
Dim ncell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
ncell1.ValueSign = GrapeCity.Win.Spread.InputMan.CellType.ValueSignControl.Positive
fpSpread1.Sheets(0).Cells(1, 1).CellType = ncell1