Listbox CellTextPaint

Hi all,

How can I call CellTextPaint for a specific row? I want to update a color of a row.


CellTextPaint is called for each cell
you have a parameter “row” and you just check for the row you want to change the color
you cannot call CellTextPaint when you want.

You could use ListBox.InvalidateCell for the cells you want to update.

I think this is the correct solution.

Thanks for both answers.