I think this is a defect in our code.
Here is a work-around using the CurrentCellControlKeyMessage event that worked for me.
private void gridControl1_CurrentCellControlKeyMessage(object sender, GridCurrentCellControlKeyMessageEventArgs e)
{
Keys keyCode = (Keys)((int)e.Msg.WParam) & Keys.KeyCode;
if(e.Msg.Msg == 0x100) //WM_KEYDOWN
{
if(keyCode == Keys.Delete)
{
GridMaskedEditBox meb = e.Control as GridMaskedEditBox;
if(meb != null)
{
meb.SelectionLength = Math.Max(1, meb.SelectionLength);
meb.SelectedText = "";
e.Handled = true;
e.Result = true;
}
}
}
}