public EditableShapeController(IUnityContainer container, EditableShape shape, Point startPoint) { _container = container; Shape = shape; Shape.StrokeThickness = 4; Shape.Stroke = new SolidColorBrush(Colors.LightGray); _startPoint = startPoint; X = startPoint.X; Y = startPoint.Y; }
protected void OnEnable() { Shape = target as EditableShape; }