Gets or sets a value indicating whether the diagram has changed since the last save.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public bool Dirty { get; set; } |
Visual Basic Copy Code |
---|
Public Property Dirty As Boolean |
A boolean value that indicates whether the diagram has changed.
NetDiagram 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.
NetDiagram Programmer's Guide | © 2023 MindFusion |