Public Overridable Function CanDelete() As Boolean
public virtual bool CanDelete()
Return Value
by default, this returns true if the diagram is not
IsReadOnly, if
Diagram.AllowDelete is true, and if there are some selected parts (
Diagram.SelectedParts).