GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace : MaxMinBehavior Enumeration |
'Declaration Public Enum MaxMinBehavior Inherits System.Enum
'Usage Dim instance As MaxMinBehavior
public enum MaxMinBehavior : System.Enum
Member | Description |
---|---|
AdjustToMaxMin | Adjusts the value to the valid range between the minimum and maximum. |
CancelInput | Cancels the last input and holds the old text. |
Clear | Clears the value to a null reference (Nothing in Visual Basic). |
Keep | Keeps the last input and holds the old text. |
Restore | Restores the backup value to the specified property. |
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
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10