PortPlacementHelper.OnParentShapeResized Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
virtual void OnParentShapeResized(Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD oldBounds, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD newBounds);
public virtual void OnParentShapeResized (Microsoft.VisualStudio.Modeling.Diagrams.NodeShape parentShape, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD oldBounds, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD newBounds);
abstract member OnParentShapeResized : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
override this.OnParentShapeResized : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
Public Overridable Sub OnParentShapeResized (parentShape As NodeShape, oldBounds As RectangleD, newBounds As RectangleD)
Parameters
- parentShape
- NodeShape
parentShape
- oldBounds
- RectangleD
oldBounds
- newBounds
- RectangleD
newBounds
Remarks
deprecated