共用方式為


PortPlacementHelper.ResizeParentShapeAsNeeded Method

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 ResizeParentShapeAsNeeded ( _
    location As PointD, _
    portShape As Port, _
    parentShape As NodeShape _
)
protected virtual void ResizeParentShapeAsNeeded(
    PointD location,
    Port portShape,
    NodeShape parentShape
)
protected:
virtual void ResizeParentShapeAsNeeded(
    PointD location, 
    Port^ portShape, 
    NodeShape^ parentShape
)
abstract ResizeParentShapeAsNeeded : 
        location:PointD * 
        portShape:Port * 
        parentShape:NodeShape -> unit 
override ResizeParentShapeAsNeeded : 
        location:PointD * 
        portShape:Port * 
        parentShape:NodeShape -> unit 
protected function ResizeParentShapeAsNeeded(
    location : PointD, 
    portShape : Port, 
    parentShape : NodeShape
)

Parameters

.NET Framework Security

See Also

Reference

PortPlacementHelper Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace