NodeShape.OnParentNodeShapeChanged Method
This method is invoked if a) ParentShape is NodeShape b) ParentShape either moved or resized.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Overridable Sub OnParentNodeShapeChanged ( _
oldParentAbsoluteBounds As RectangleD, _
newParentAbsoluteBounds As RectangleD _
)
protected virtual void OnParentNodeShapeChanged(
RectangleD oldParentAbsoluteBounds,
RectangleD newParentAbsoluteBounds
)
protected:
virtual void OnParentNodeShapeChanged(
RectangleD oldParentAbsoluteBounds,
RectangleD newParentAbsoluteBounds
)
abstract OnParentNodeShapeChanged :
oldParentAbsoluteBounds:RectangleD *
newParentAbsoluteBounds:RectangleD -> unit
override OnParentNodeShapeChanged :
oldParentAbsoluteBounds:RectangleD *
newParentAbsoluteBounds:RectangleD -> unit
protected function OnParentNodeShapeChanged(
oldParentAbsoluteBounds : RectangleD,
newParentAbsoluteBounds : RectangleD
)
Parameters
oldParentAbsoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDold AbsoluteBounds of Parent
newParentAbsoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDnew AbsoluteBounds of Parent
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.