Exemple #1
0
        protected override void OnChildConfiguring(Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement child, bool createdDuringViewFixup)
        {
            base.OnChildConfiguring(child, createdDuringViewFixup);
            VDActionJointPort port = child as VDActionJointPort;

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

            if ((port != null) && !port.IsPort)
            {
                this.ConfiguredChildPortShape(port, childWasPlaced);
            }
        }