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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Refresh Performance

Thread ID:





42691 Apr 4,2006 04:10 PM UTC Jul 4,2006 11:32 AM UTC WinForms 1
Tags: Diagram
Administrator [Syncfusion]
Asked On April 4, 2006 04:10 PM UTC

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

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon