using DevExpress.XtraGrid.Views.Grid;
// ...
private void gridView1_ShowingEditor(object sender, System.ComponentModel.CancelEventArgs e) {
GridView View = sender as GridView;
string cellValue = View.GetRowCellValue(gridView1.FocusedRowHandle, colCountry).ToString();
if (cellValue == "Germany")
e.Cancel = true;
}