DataGridView - blurry view while scrolling with the mouse wheel

Paweł Łepko 21 Reputation points


There is a datagridview control in my window, for which I added my own implementation of methods: "CellFormatting" and "CellPainting". The control is set to double-buffered mode and everything works fine. The problem appears when moving the mouse wheel quickly - the blur effect appears - lines overlapping - it takes a fraction of a second but a bit spoils the final feeling.

Is there any solution to my problem?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,827 questions
{count} votes