protected override void OnChildConfiguring(Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement child, bool createdDuringViewFixup) { base.OnChildConfiguring(child, createdDuringViewFixup); VDEventBasePort port = child as VDEventBasePort; if ((port != null) && !port.IsPort) { port.ActiveBoundsRules = this.BoundsRules; } }
protected override void OnChildConfigured(Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement child, bool childWasPlaced, bool createdDuringViewFixup) { base.OnChildConfigured(child, childWasPlaced, createdDuringViewFixup); VDEventBasePort port = child as VDEventBasePort; if ((port != null) && !port.IsPort) { this.ConfiguredChildPortShape(port, childWasPlaced); } }