I have a Windows form DataGridView
. I am dynamically changing the background color of the row header. The background color is getting successfully changed if the OS display style is classic. However, background color of the row header does not change if the display style is Windows XP.
Please note, I am able to change the background color of the row, though. Can anybody tell me what I am doing wrong?
I am changing the background color of the row header in cell formatting event.