SPREAD for WPF 3.0J - GcSpreadGrid
ExitOnLastChar プロパティ (TextCellType)
使用例 

GrapeCity.Windows.SpreadGrid 名前空間 > TextCellType クラス : ExitOnLastChar プロパティ
セルに最後の文字が入力されると同時にタブオーダーの次のセルがフォーカスを受け取るかどうかを取得または設定します。
シンタックス
'宣言
 
Public Property ExitOnLastChar As Boolean
public bool ExitOnLastChar {get; set;}

プロパティ値

編集要素によって定義された最後の文字がコントロールに入力されると同時にタブオーダーの次のセルにフォーカスが移動する場合は true。それ以外の場合は false。既定値は false です。
例外
例外解説
指定された値が System.Boolean 型ではありません。
解説
このプロパティが true に設定されている場合、ユーザーが TextCellType セルの最後まで入力すると、キーボードフォーカスが自動的に次のセルに設定されます。
使用例
次のサンプルコードは TextCellTypeを作成し, このセルが大文字入力とスペース入力を許可し、6文字以上入力された場合は次のセルに移動するようにします。
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
参照

TextCellType クラス
TextCellType メンバ