public void RemovePoint(DragablePointViewModel point) { PointVms.Remove(point); PolygonObject.RemovePoint(point.ModelObject); OnPropertyChanged("ClosedPointVms"); OnPropertyChanged("Points"); OnPropertyChanged(""); Parent.OnPropertyChanged(""); }
public void RemovePoint(LfDragablePointViewModel point) { if (LocalModelObject == null) { return; } PointVms.Remove(point); LocalModelObject.RemovePoint(point.ModelObject); InvalidateAll(); ParentVm.OnPropertyChanged(""); }