C# multi-coloured text in a single cell of a datagridview

.net, c#, colors, datagridview, winforms

Solution

You need to use the CellPainting event to customize how the cell is drawn.

Problem

Is it possible to change the colour of a sub string present in a datagridview cell?

Original source