Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overridable Sub OnParentShapeResized ( _
parentShape As NodeShape, _
oldBounds As RectangleD, _
newBounds As RectangleD _
)
public virtual void OnParentShapeResized(
NodeShape parentShape,
RectangleD oldBounds,
RectangleD newBounds
)
public:
virtual void OnParentShapeResized(
NodeShape^ parentShape,
RectangleD oldBounds,
RectangleD newBounds
)
abstract OnParentShapeResized :
parentShape:NodeShape *
oldBounds:RectangleD *
newBounds:RectangleD -> unit
override OnParentShapeResized :
parentShape:NodeShape *
oldBounds:RectangleD *
newBounds:RectangleD -> unit
public function OnParentShapeResized(
parentShape : NodeShape,
oldBounds : RectangleD,
newBounds : RectangleD
)
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
parentShape
- oldBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
oldBounds
- newBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
newBounds
Remarks
deprecated
.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.