If you do not want to derive teh cell control, then you can just use the OriginalTextBox celltype and handle things in grid.CurrentCellControlKeyMessage
this.gridControl1[2,2].CellType = "OriginalTextBox";
private void gridControl1_CurrentCellControlKeyMessage(object sender, GridCurrentCellControlKeyMessageEventArgs e)
{
GridCurrentCell cc = this.gridControl1.CurrentCell;
if(cc.RowIndex == 2 && cc.ColIndex == 2)
{
Keys keyCode = (Keys) ((int)e.Msg.WParam) & Keys.KeyCode;
//check for WM_KEYDOWN and Enter
if(e.Msg.Msg == 256 && keyCode == Keys.Enter)
{
GridOriginalTextBoxControl tb = cc.Renderer.Control as GridOriginalTextBoxControl;
tb.SelectedText = "\r\n";
e.Handled = true;
}
}
}