Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / EditMode Enumeration
Example Example


In This Topic
    EditMode Enumeration
    In This Topic
    Specifes the edit mode.
    Syntax
    'Declaration
     
    
    Public Enum EditMode 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As EditMode
    public enum EditMode : System.Enum 
    Members
    MemberDescription
    FixedInsertIndicates the fixed Insert mode.
    FixedOverwriteIndicates the fixed Overwrite mode.
    InsertIndicates the Insert mode.
    OverwriteIndicates the Overwrite mode.
    Remarks
    Use the members of this enumeration to control the INSERT or REPLACE mode of the editor.
    Example
    次のサンプルコードは、EditMode 列挙体を使用します。
    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;
    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
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Win.Spread.InputMan.CellType.EditMode

    See Also