SPREAD for WPF 4.0J - GcSpreadGrid
EditMode プロパティ (EditBaseCellType)
使用例 

GrapeCity.Windows.SpreadGrid 名前空間 > EditBaseCellType クラス : EditMode プロパティ
セルの編集モードを取得または設定します。
シンタックス
'宣言
 
Public Property EditMode As EditMode
public EditMode EditMode {get; set;}

プロパティ値

このセルの編集モードを示す GrapeCity.Windows.SpreadGrid.Editors.EditMode 列挙値。
既定値は GrapeCity.Windows.SpreadGrid.Editors.EditMode.Insert です。
使用例
次のサンプルは TextCellType を作成します。新しく入力された文字が既存の文字を上書きします。
public void SetTextCell5()
{
    TextCellType textCellType1 = new TextCellType();

    textCellType1.AutoConvert = true;
    //The input characters will be converted to capital letters automatically and allow to input 'space' key.
    textCellType1.Format = "AS";
    //If you try to input 'grapecity' in cell, only the 'grape' is left.
    textCellType1.MaxLength = 5;
    textCellType1.MaxLengthUnit = GrapeCity.Windows.SpreadGrid.Editors.LengthUnit.Char;
    //When you try to input 6th char, the focus will move next cell.
    textCellType1.ExitOnLastChar = true;
    //The input text will overwrite the existed character.
    textCellType1.EditMode = GrapeCity.Windows.SpreadGrid.Editors.EditMode.Overwrite;

    this._gcSpreadGrid1[0, 0].CellType = textCellType1;
}
Public Sub SetTextCell5()
    Dim textCellType1 As New TextCellType()

    textCellType1.AutoConvert = True
    'The input characters will be converted to capital letters automatically and allow to input 'space' key.
    textCellType1.Format = "AS"
    'If you try to input 'grapecity' in cell, only the 'grape' is left.
    textCellType1.MaxLength = 5
    textCellType1.MaxLengthUnit = GrapeCity.Windows.SpreadGrid.Editors.LengthUnit.[Char]
    'When you try to input 6th char, the focus will move next cell.
    textCellType1.ExitOnLastChar = True
    'The input text will overwrite the existed character.
    textCellType1.EditMode = GrapeCity.Windows.SpreadGrid.Editors.EditMode.Overwrite

    Me._gcSpreadGrid1(0, 0).CellType = textCellType1
End Sub
参照

EditBaseCellType クラス
EditBaseCellType メンバ