DevExpress使用
luolunz
天生不是程序员,但坚持着。
展开
-
DevExpress控件-GridControl根据条件改变单元格/行颜色(Dev GridControl 单元格着色)
DevExpress控件-数据控件GridControl,有时我们需要根据特定条件改变符合条件的行或者单元格颜色达到突出显示目的,现在动起鼠标跟我一起操作吧,对的,要达到这个目的您甚至都不用动键盘.在对GridControl绑定好数据后:No.1:右键GridControl选择Run Designer;No.2:Appearance下Formatter Conditions点击Add,原创 2013-05-10 16:56:56 · 9308 阅读 · 1 评论 -
如何DevExpress,GridControl,FocusedRow只改变背景色、不改变ForeColor前景色(change the background not fore colors)
困扰我好几天的一个问题、今天终于解决了.....................GridControl的可以设置FocusedRow的前景色和背景色、但是由于前景色已经动态生成、所以不想被覆盖,英文大致为这样描述by default the grid changes the cell's ForeColor when the row is focused and painted with原创 2013-05-27 20:15:41 · 4921 阅读 · 0 评论 -
DevExpress控件GridControl使用总结一
本文参考了部分网上资源设置选中行的背景色、而不改变前景色。EnableAppearanceFocusedCell = False, EnableAppearanceFocusedRow = Falseprivate void gdvMarket_RowCellStyle(object sender, RowCellStyleEventArgs e) {原创 2013-05-28 16:36:42 · 6550 阅读 · 3 评论 -
如何在Dev GridControl中添加颜色可变的ProgressBar(GridControl ProgressBar Change Color)
1.前言在使用DevExpress,GridControl自带的ProgressBarControl的时候由于无法通过BackColor/ForeColor来改变进度条的颜色所以很多特效是实现不了的。如下面所以必须使用其他的一些方式来实现颜色可变的ProgressBar.情况一、不使用ProgressBarControl,而是根据单元格的值使用GDI绘制一个带背景色的长原创 2013-05-30 14:05:40 · 5301 阅读 · 0 评论 -
GridView.CustomDrawCell Event事件的应用
Event DataThe event handler receives an argument of type RowCellCustomDrawEventArgs containing data related to this event.The following RowCellCustomDrawEventArgs properties provide informat翻译 2013-06-09 14:43:58 · 7695 阅读 · 1 评论