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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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.RectangleD
old AbsoluteBounds of Parent
- newParentAbsoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
new 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.