Gets or sets a value indicating whether the diagram has changed since the last save.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
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.
WpfDiagram 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 in an argument of the Save* methods.
WpfDiagram Programmer's Guide | © 2024 MindFusion |