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;
}

相关文章:

  • 2021-12-26
  • 2022-01-17
  • 2021-04-28
  • 2022-02-06
  • 2021-11-19
  • 2021-12-31
  • 2021-10-11
猜你喜欢
  • 2021-12-04
  • 2022-02-10
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案