MindFusion.Wpf Pack Programmer's Guide
Diagram.Dirty Property
See Also
 





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 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

Diagramming for WPF 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.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace
DirtyChanged Event
Selection.SetsDirtyFlag Property