DiagramLite Programmer's Guide
Diagram.RemoveItem Method
See Also
 





Removes the specified item from the diagram and creates a record in the undo/redo history.

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

 Syntax

C#  Copy Code

protected virtual void RemoveItem (
    DiagramItem item
)

Visual Basic  Copy Code

Protected Overridable Sub RemoveItem ( _
    item As DiagramItem _
)

 Parameters

item
The item that should be removed from the diagram.

 Remarks

The Diagram object calls this method automatically when an item is removed from the Items collection. Classes that inherit Diagram can override it to implement some additional processing, but in any case they must call the base method.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace