PortPlacementHelper Class
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | PortPlacementHelper() |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindEmptyPortPosition(Port^, NodeShape^) | |
![]() | FindPerimeterRotation(NodeShape^, RectangleD, PortPlacement, RectangleD, PortPlacement) | Given initial and final bounds of the port, find the rotation distance on the perimeter of the component and the rotation direction. Clockwise is positive and anticlockwise is negative. Assumption: initialBounds and finalBounds are a small delta apart. Hence called between two GetCompliantBounds calls |
![]() ![]() | GetBottomPortChildren(NodeShape^) | List of children port shapes on the bottom side of this component. |
![]() ![]() | GetBottomPortChildren(NodeShape^, RectangleD) | |
![]() | GetHashCode() | (Inherited from Object.) |
![]() ![]() | GetLeftPortChildren(NodeShape^) | |
![]() | GetNextEdgeChildren(PortPlacement, NodeShape^, ArrayList^, PointD) | |
![]() ![]() | GetRightPortChildren(NodeShape^) | |
![]() ![]() | GetRightPortChildren(NodeShape^, RectangleD) | |
![]() ![]() | GetTopPortChildren(NodeShape^) | List of children port shapes on the bottom side of this component. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnParentShapeResized(NodeShape^, RectangleD, RectangleD) | This method is no longer invoked within DSL and is deprecated. DSL now provides another hook: a virtual method:"OnParentNodeShapeChanged" on Microsoft.VisualStudio.Modeling.DiagramsNodeShape class. This method is invoked on a child NodeShape whenever the Parent NodeShape is moved/resized. |
![]() | PositionChildPort(Port^, NodeShape^) | Auto place port shape. |
![]() | ResizeParentShapeAsNeeded(PointD, Port^, NodeShape^) | |
![]() | RotateOnPerimeter(NodeShape^, RectangleD, Double, PortPlacement) | |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


