【发布时间】:2020-04-30 18:01:01
【问题描述】:
我有一个DataGridView,它根据特定条件以红色和蓝色显示一些值。 However, when a row is selected, the backcolor of that row is changed (that's fine, I actually need that) but also the forecolor of all the cells in that row, which ruins everything.
这是一种只改变所选行的背景色,保持每个单元格前色与选择前一样的方法吗?
【问题讨论】:
-
请参阅here 以获得一些提示!
标签: c# visual-studio datagridview