I've been testing out xamTreemap with data binding and noticed that when I get past a certain number of nodes in the tree, performance comes to a crawl. I need to support 500-1000 elements per level, but every time I add an element, the treemap has to redraw and the application becomes unresponsive.
My question is: Is there a way to cache the redrawing so that I can turn off the redraw, add a bunch of data, then force a redraw afterward?
Currently this is not possible. We are working on improving the overall performance of the treemap. Preventing redraw and forcing it at a certain moment is a good idea and we may implement it too.
The way to prevent redrawing now is to manipulate the data when it is not bound to the treemap. A possible solution is to make a copy of the data, make the needed changes and then set the copy as the ItemsSource of the treemap.
Does this still apply for 2011 Volume 1 that was just released in June 2011? Just wondering if anything has been added to allow for control of when the redraw happens (redrawing after adding a bunch of items instead of redrawing after each item is added).
I am sorry to inform you that the issues that you mentioned are not changed in 11.1 release. Are the suggestions above for improving the performance helpful to you?