change foreColor
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hello firends How can I change foreColor of a cell in dataGrid ? (in special row & column). Good luck
You can change the forecolor of a specific column by setting the ForeColor property of that ColumnStyle(DataGridColumnStyle). To change the forecolor of a specific cell you have to override the paint method in DataGridColumnStyle in which you will check for a condition or the rowNum and then set the forecolor accordingly. Thanks, VPMahank