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