GrapeCity.Win.PluginInputMan アセンブリ > GrapeCity.Win.Spread.InputMan.CellType 名前空間 > GcNumberCellType クラス : MaxValue プロパティ |
'Declaration Public Property MaxValue As Decimal
'使用法 Dim instance As GcNumberCellType Dim value As Decimal instance.MaxValue = value value = instance.MaxValue
public decimal MaxValue {get; set;}
例外 | 説明 |
---|---|
System.ArgumentOutOfRangeException | 値がMinValue未満であるか、デフォルト値を超えています。 |
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