| Visual Basic (Declaration) | |
|---|---|
Public Enum EditMode Inherits System.Enum  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As EditMode  | |
| C# | |
|---|---|
public enum EditMode : System.Enum  | |
| Member | Description | 
|---|---|
| FixedInsert | Indicates the fixed Insert mode. | 
| FixedOverwrite | Indicates the fixed Overwrite mode. | 
| Insert | Indicates the Insert mode. | 
| Overwrite | Indicates the Overwrite mode. | 
Use the members of this enumeration to control the INSERT or REPLACE mode of the editor.
            
            This example uses the EditMode enumeration.
             
            
            | C# |  Copy Code | 
|---|---|
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.EditMode = GrapeCity.Win.Spread.InputMan.CellType.EditMode.Overwrite;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell; | |
| VB.NET |  Copy Code | 
|---|---|
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell.EditMode = GrapeCity.Win.Spread.InputMan.CellType.EditMode.Overwrite FpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell  | |
System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.Spread.InputMan.CellType.EditMode
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8