DiagramLite Programmer's Guide
Diagram.ClearAll Method
See Also
 





Removes all items from the diagram.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public virtual void ClearAll ()

Visual Basic  Copy Code

Public Overridable Sub ClearAll ()

 Remarks

This method also clears the undo/redo history. To remove all items as an undoable operation, remove them from the Items collection enclosed between StartCompositeOperation and CommitCompositeOperation calls.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace