We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Refresh Performance

Is there a way not to repaint all the nodes on the screen when only one needs such a repaint ? It looks like everything is repainted everytime

1 Reply

AD Administrator Syncfusion Team July 4, 2006 11:32 AM UTC

Hi John, I am sorry about this delay in getting back to you on this issue. If your intension is to temporarily suspend the diagram redraw , you can use Diagram.Model.BeginUpdate() and Diagram.Model.EndUpdate() methods. Using the Diagram.Model.BeginUpdate()/EndUpdate() sequence before and after you perform your node insertion should prevent the diagram model/view components from being updated. This approach is demonstrated in many of the diagram samples. Please refer Diagram Samples\InDepth\OrgLayout and Diagram Samples\InDepth\Expander samples that are shipped with the product. Thanks, Meera.

Loader.
Live Chat Icon For mobile
Up arrow icon