internal void UpdateLine() { Polyline pl = new Polyline(); pl.Paths = new ObservableCollection<PointCollection>(); PointCollection pc = new PointCollection(); pc.Add(Start.Mp); pc.Add(Finish.Mp); pl.Paths.Add(pc); Line.Geometry = pl; }