DataGridView - blurry view while scrolling with the mouse wheel

Paweł Łepko 21 Reputation points
2021-11-19T14:11:48.727+00:00

Hello,

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,329 questions
{count} votes