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

How to clear or reset diagram.Model.Modified

Thread ID:

Created:

Updated:

Platform:

Replies:

59634 Apr 18,2007 07:39 PM UTC Apr 18,2007 09:27 PM UTC WinForms 2
loading
Tags: Diagram
Lan Mo
Asked On April 18, 2007 07:39 PM UTC

Hi,
I use diagram.Model.Modified to check if the diagram has been modified.
if diagram.Model.Modified =true, I'll save the diagram to a file or IMAGE field. After saved successfully, I'll clear or reset diagram.Model.Modified to false indicating no change has been made since last chages.
How can I reset diagram.Model.Modified to false?
Thanks,

Lan


J.Nagarajan [Syncfusion]
Replied On April 18, 2007 09:00 PM UTC

Hi Lan,

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.

When you try to clear or reset the diagram, there is no changes in Model. Unless you make any changes to the diagram after it has got reset, the Modified flag will remain False.

Please give some more details if this not helps you.

Thanks,
Nagaraj

J.Nagarajan [Syncfusion]
Replied On April 18, 2007 09:27 PM UTC

Hi Lan,

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.

When you try to clear or reset the diagram, there is no changes in Model. Unless you make any changes to the diagram after it has got reset, the Modified flag will remain False.

Please give some more details if this not helps you.

Thanks,
Nagaraj

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.

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

;