Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Delete() |
C# | |
---|---|
public virtual void Delete() |
This raises the F:Northwoods.GoXam.Diagram.SelectionDeletingEvent; if it is
Handled
, this deletion is cancelled. It then removes all of the selected parts from the diagram, by calling PartManager.DeleteParts. Finally it raises the F:Northwoods.GoXam.Diagram.SelectionDeletedEvent. All of the changes are performed in an undoable edit.