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

Model.Modified property

Thread ID:





39198 Dec 29,2005 11:22 PM UTC Dec 30,2005 08:35 PM UTC WinForms 2
Tags: Diagram
Chris C
Asked On December 29, 2005 11:22 PM UTC

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 04:58 PM UTC

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 08:35 PM UTC

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


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