gridcontrol放的是TableView

解决方案 »

  1.   

    gridcontrol 是什么?WEB?WIN?WPF
      

  2.   

           private void gvList_RowStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e)
            {
    //条件判断
                    e.Appearance.ForeColor = Color.Red;
            }
      

  3.   

    WPF 中的GRID,主要用来布局,可以在满足条件时在指定行添加一个Rectangle Shape 对象 作为背景