Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Sub OnParentShapeResized ( _
parentShape As NodeShape, _
oldBounds As RectangleD, _
newBounds As RectangleD _
)
'使用
Dim instance As PortPlacementHelper
Dim parentShape As NodeShape
Dim oldBounds As RectangleD
Dim newBounds As RectangleD
instance.OnParentShapeResized(parentShape, _
oldBounds, newBounds)
public virtual void OnParentShapeResized(
NodeShape parentShape,
RectangleD oldBounds,
RectangleD newBounds
)
public:
virtual void OnParentShapeResized(
NodeShape^ parentShape,
RectangleD oldBounds,
RectangleD newBounds
)
public function OnParentShapeResized(
parentShape : NodeShape,
oldBounds : RectangleD,
newBounds : RectangleD
)
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- oldBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
- newBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Permissions
- 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.