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.
Unfortunately, activation email could not send to your email. Please try again.

Refresh Performance

Thread ID:

Created:

Updated:

Platform:

Replies:

42691 Apr 4,2006 12:10 PM Jul 4,2006 07:32 AM Windows Forms 1
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On April 4, 2006 12:10 PM

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 07:32 AM

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.

CONFIRMATION

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.

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.

;