private void gridView1_CustomDrawCell(object sender, DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventArgs e)
{
  if (e.Column.FieldName == "Examine")
  {
    if (e.DisplayText.Equals("已审批"))
    {
      e.Appearance.ForeColor = Color.Red;
    }
    else
    {
      e.Appearance.ForeColor = Color.Blue;
    }
  }
}

 

相关文章:

  • 2022-12-23
  • 2021-11-02
  • 2021-11-09
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
相关资源
相似解决方案