PortPlacementHelper::OnParentShapeResized Method (NodeShape^, RectangleD, RectangleD)

 

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.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
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
)

deprecated

Return to top
Show: