PortPlacementHelper::OnParentShapeResized Method (NodeShape^, RectangleD, RectangleD)
Visual Studio 2015
This method is no longer invoked within DSL and is deprecated. DSL now provides another hook: a virtual method:"OnParentNodeShapeChanged" on Microsoft.VisualStudio.Modeling.DiagramsNodeShape class. This method is invoked on a child NodeShape whenever the Parent NodeShape is moved/resized.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual void OnParentShapeResized( NodeShape^ parentShape, RectangleD oldBounds, RectangleD newBounds )
Parameters
- parentShape
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::NodeShape^
parentShape
- oldBounds
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
oldBounds
- newBounds
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
newBounds
deprecated
Show: