public override void RemovedFromCanvas(LTSCanvas canvas) { //Remove nail foreach (NailItem nailItem in this.Nails) canvas.RemoveSingleCanvasItem(nailItem); this.Nails.Clear(); //Remove transition canvas.RemoveSingleCanvasItem(Label); canvas.RemoveSingleRoute(this); }