[Mono-winforms-list] datagrid layout patch
toshok at ximian.com
Thu May 11 15:24:56 EDT 2006
The initial layout of the datagrid (CalcGridAreas in particular) ends up
recursively calling itself (on one test it was being invoked 5 or 6
times.) You can see this happening with a large datagrid by watching
the vertical scrollbar's slider change size as it lays out.
This patch calculates the layout/positioning of everything in a single
pass, which speeds things up quite a bit.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12909 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20060511/67fbb2ef/datagrid-layout.bin
More information about the Mono-winforms-list