共用方式為


NodeShape.OnParentNodeShapeChanged(RectangleD, RectangleD) Method

Definition

This method is invoked if a) ParentShape is NodeShape b) ParentShape either moved or resized.

protected:
 virtual void OnParentNodeShapeChanged(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD oldParentAbsoluteBounds, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD newParentAbsoluteBounds);
protected virtual void OnParentNodeShapeChanged (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD oldParentAbsoluteBounds, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD newParentAbsoluteBounds);
abstract member OnParentNodeShapeChanged : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
override this.OnParentNodeShapeChanged : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
Protected Overridable Sub OnParentNodeShapeChanged (oldParentAbsoluteBounds As RectangleD, newParentAbsoluteBounds As RectangleD)

Parameters

oldParentAbsoluteBounds
RectangleD

old AbsoluteBounds of Parent

newParentAbsoluteBounds
RectangleD

new AbsoluteBounds of Parent

Applies to