11 May 2006 21:24
datagrid layout patch
Chris Toshok <toshok <at> ximian.com>
2006-05-11 19:24:56 GMT
2006-05-11 19:24:56 GMT
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. Chris
_______________________________________________ Mono-winforms-list maillist - Mono-winforms-list <at> lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list
RSS Feed