How to Set Cell Text Color in Windows Forms Grid Control

18 Nov 20181 minute to read

Harnessing the ability to customize text color to your application allows you endless possibilities. Use the TextColor property of cells style and set it to color value.

//Modifies the TextColor of a cell.
gridControl1[rowIndex, colIndex].TextColor = Color.Red;
'Modifies the TextColor of a cell.
GridControl1(rowIndex, colIndex).TextColor = Color.Red