当前位置:编程学习 > C#/ASP.NET >>

在gridcontrol中如何实现对满足条件的某一行进行添加颜色

gridcontrol放的是TableView --------------------编程问答-------------------- gridcontrol 是什么?

WEB?WIN?WPF --------------------编程问答--------------------
       private void gvList_RowStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e)
        {
//条件判断
                e.Appearance.ForeColor = Color.Red;
        }
--------------------编程问答-------------------- WPF 中gridControl --------------------编程问答-------------------- WPF 中的GRID,主要用来布局,可以在满足条件时在指定行添加一个Rectangle Shape 对象 作为背景
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,