PortPlacementHelper.ResizeParentShapeAsNeeded Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Protected Overridable Sub ResizeParentShapeAsNeeded ( _
    location As PointD, _
    portShape As Port, _
    parentShape As NodeShape _
)
'使用
Dim location As PointD
Dim portShape As Port
Dim parentShape As NodeShape

Me.ResizeParentShapeAsNeeded(location, _
    portShape, parentShape)
protected virtual void ResizeParentShapeAsNeeded(
    PointD location,
    Port portShape,
    NodeShape parentShape
)
protected:
virtual void ResizeParentShapeAsNeeded(
    PointD location, 
    Port^ portShape, 
    NodeShape^ parentShape
)
protected function ResizeParentShapeAsNeeded(
    location : PointD, 
    portShape : Port, 
    parentShape : NodeShape
)

Parameters

Permissions

See Also

Reference

PortPlacementHelper Class

PortPlacementHelper Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace