Removes all items from the diagram.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C# Copy Code |
---|
public virtual void ClearAll () |
Visual Basic Copy Code |
---|
Public Overridable Sub ClearAll () |
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.