protected override Infrustructure.Plans.Elements.ElementBaseRectangle CreateElement() { var element = new ElementRectangleXDirection(); var propertiesViewModel = new DirectionPropertiesViewModel(element, _directionsViewModel); if (!DialogService.ShowModalWindow(propertiesViewModel)) return null; Helper.SetXDirection(element); return element; }
public override ElementBase Clone() { var elementBase = new ElementRectangleXDirection(); Copy(elementBase); return elementBase; }