ASP.NET 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
Package: 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 for WebForms 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

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
DirtyChanged Event
SaveToStream Method
LoadFromStream Method
SaveToFile Method
LoadFromFile Method