public RectanglePropertiesViewModel(ElementRectangle elementRectangle) { Title = "Свойства фигуры: Прямоугольник"; ImagePropertiesViewModel = new ImagePropertiesViewModel(); _elementRectangle = elementRectangle; CopyProperties(); }
public PolygonPropertiesViewModel(ElementPolygon elementPolygon) { Title = "Свойства фигуры: Полигон"; ImagePropertiesViewModel = new ImagePropertiesViewModel(); _elementPolygon = elementPolygon; CopyProperties(); }