Hello,

I'd like to draw a custom background for my DataGridView. So i derived a class from DataGridView and overwrote PaintBackground(...). Unfortunately the background gets also scrolled when the content gets scrolled. I'd like to draw a static background. Maybe you have some ideas.

This should be used to change the background color of the rows. However I can't use RowsDefaultStyle/AlternatingRowsDefaultCellStyle because the background must not move. Only the content should move while the background remains at the same place (you get crazy scrolling for long times).

Thx
Till