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.

Model.Modified property

Thread ID:

Created:

Updated:

Platform:

Replies:

39198 Dec 29,2005 06:22 PM Dec 30,2005 03:35 PM Windows Forms 2
loading
Tags: Diagram
Chris C
Asked On December 29, 2005 06:22 PM

I need more information on the Model.Modified property. We have an application that generates code, based on the diagram. We need to know when the diagram has changed so our application can automatically generate new code. I made the assumption that the Syncfusion sources would set the Model.Modified property to false when the diagram was saved (not closed). However, I found out that was not the case. Under what circumstances does the Syncfusion sources set this property? Is there an easy way to determine if the diagram/model has been changed, or do I need to keep track of this in our application code? Thanks in advance for your help. Chris C

Administrator [Syncfusion]
Replied On December 30, 2005 11:58 AM

Hello Chris, It looks like the Model.Modified property was intended to serve as a flag that gets set whenever an attribute of the diagram Model has changed. Any changes to the Model data will set the Modified property to be TRUE. Serializing the Model should ideally reset this flag, but this does not appear to be the case with the 4.1 build. I have made the required correction and starting with the next update of Diagram, Model.Modified will be correctly set to FALSE upon serialization. For now you will have to forcibly reset the Model.Modified flag from within your serialization routine. Thank you for pointing out this problem. Regards, Prakash Surendra Syncfusion Inc.,

Chris C
Replied On December 30, 2005 03:35 PM

Hi Prakash, Thanks for your help. We''re on a tight schedule so I really appreciate your quick response and the work-around for problem. Chris

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.

;