入力中に無効なデータがあるときに
GcDateTime.Value、
GcNubmer.Value、
GcTimeSpan.Value、
GcDate.Value、
GcTime.Valueの各プロパティをどのように処理するかを定義します。
次のサンプルコードは、範囲から外れた値を最小値または最大値に調整します。
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType inputcell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
inputcell1.MaxValue = 50;
inputcell1.MinValue = 0;
inputcell1.MaxMinBehavior = GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior.AdjustToMaxMin;
fpSpread1.Sheets[0].Cells[1, 1].CellType = inputcell1;
Dim inputcell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
inputcell1.MaxValue = 50
inputcell1.MinValue = 0
inputcell1.MaxMinBehavior = GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior.AdjustToMaxMin
fpSpread1.Sheets(0).Cells(1, 1).CellType = inputcell1
System.Object
System.ValueType
System.Enum
GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior