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
- location
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
- portShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.Port
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
.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.