The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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.,
CCChris CDecember 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