/// <summary> /// Updates positiosn of <see cref="FellowTravellers"/> /// </summary> public void FellowTravellersUpdate() { if (FellowTravellers != null) { foreach (DragThumb element in FellowTravellers) { DragThumb.UpdatePos(element); } } }
void AlignFellowTravellers() { if (NodesInBadPosition()) { ParentControl.GetBounds().AlignLabelsToPoint(this.Position, FellowTravellers.OfType <DragThumb>().Select(t => t.DraggedControl).OfType <Node>()); foreach (DragThumb fellowTraveller in FellowTravellers) { DragThumb.UpdatePos(fellowTraveller); } } }