PortPlacementHelper.OnParentShapeResized Method

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

Permissions

See Also

Reference

PortPlacementHelper Class

PortPlacementHelper Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace