protected override Infrustructure.Plans.Elements.ElementBaseRectangle CreateElement() { var element = new ElementRectangleXZone(); var propertiesViewModel = new ZonePropertiesViewModel(element, _zonesViewModel); if (!DialogService.ShowModalWindow(propertiesViewModel)) return null; Helper.SetXZone(element); return element; }
public override ElementBase Clone() { var elementBase = new ElementRectangleXZone(); Copy(elementBase); return elementBase; }