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.

Symbol invalidate?

Thread ID:

Created:

Updated:

Platform:

Replies:

30656 Jun 21,2005 12:14 PM Sep 8,2006 02:22 AM Windows Forms 4
loading
Tags: Diagram
Jeff Fansler
Asked On June 21, 2005 12:14 PM

I have a custom symbol that contains a control node. When the user changes some settings in the UI, I invalidate the control that is contained in the symbol. This doesn''t cause the symbol to refresh in the view. Is there any way to refresh a single symbol? I''d rather not cause the entire diagram to refresh if I can avoid it. Thanks, -Jeff

Jeff Fansler
Replied On June 21, 2005 02:58 PM

As a side note... it''d be nice if there was an event off of the controlNode that was raised when the control has been activated and deactivated. >I have a custom symbol that contains a control node. When the user changes some settings in the UI, I invalidate the control that is contained in the symbol. This doesn''t cause the symbol to refresh in the view. > >Is there any way to refresh a single symbol? I''d rather not cause the entire diagram to refresh if I can avoid it. > >Thanks, > -Jeff

Administrator [Syncfusion]
Replied On June 22, 2005 03:12 PM

Hi Jeff, Because of Essential Diagram''s reliance on a background buffer for rendering the diagram model, there isn''t a way to redraw a single node. Any changes to a diagram would involve a complete redraw of the entire diagram. We are currently looking into ways to enhance diagram performance for complex models, and one of the options being considered is the ability to use non-buffered drawing. Once this feature has been added, we will definitely look into providing node level redrawing. For the time being you will have to use Model.UpdateViews() to refresh the entire diagram. I will go ahead and file a feature request for events that signal activation and deactivation of ControlNodes. We will do our best to provide this functionality in a future update of the product. Regards, Prakash Surendra Syncfusion Inc.,

Jeff Fansler
Replied On June 22, 2005 03:34 PM

Thanks Prakash, As usual, I really appreciate the quick response in these forums. It makes a big difference when choosing which tool vendor to go with. >I have a custom symbol that contains a control node. When the user changes some settings in the UI, I invalidate the control that is contained in the symbol. This doesn''t cause the symbol to refresh in the view. > >Is there any way to refresh a single symbol? I''d rather not cause the entire diagram to refresh if I can avoid it. > >Thanks, > -Jeff

Johann Schraml
Replied On September 8, 2006 02:22 AM

Hi Prakash,

I currently run into the problem that I have to update only parts of the diagram because of the performance. Do you consider to provide node level redrawing before long?

Many thanks,
Uli

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.

;