Search
Diagram.Dirty Property
See Also
 





Gets or sets a value indicating whether the diagram has changed since the last save.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool Dirty { get; set; }

Visual Basic  Copy Code

Public Property Dirty As Boolean

 Property Value

A boolean value that indicates whether the diagram has changed.

 Remarks

MindFusion.Diagramming tracks all changes that are done on the diagram contents, either programmatically or by users. If there are changes that are still not saved, the property has value of true. The Dirty flag is cleared automatically when a document is loaded from file or stream. When a document is saved, the Dirty flag can be cleared as specified by an argument of the Save* methods.

 See Also