[Mono-winforms-list] datagrid scrolling patch (fix for bug 78011)

Jordi Mas jordimash at gmail.com
Fri May 12 15:02:24 EDT 2006

El dv 12 de 05 del 2006 a les 11:31 -0400, en/na Chris Toshok va
> The datagrid patch is pretty simple - call XplatUI.ScrollWindow once,
> and don't call invalidate when scrolling, as the generated exposes will
> cause us to redraw the areas that need it.  Turns out removing the
> rectangle code made clear the methods could be substantially simplified,
> so I went ahead and did that too.  This was all that was necessary to
> get vertical scrolling to be fast.
> The theme change keeps us from redrawing the entire row whenever a
> portion of it is exposed (which makes horizontal scrolling as fast as
> vertical.)
> Chris


Have you tried the patch on Win32 also? At the time that I wrote that
the were diferences in the way what ScrollWindows functions XplatUI
worked for diferent platforms and that could not be archived. If it
works on both platforms, feel free to commit.



More information about the Mono-winforms-list mailing list