Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.PortPlacementHelper
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Class PortPlacementHelper
public class PortPlacementHelper
public ref class PortPlacementHelper
type PortPlacementHelper =  class end
public class PortPlacementHelper
The PortPlacementHelper type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | PortPlacementHelper | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | FindEmptyPortPosition | |
| .gif) | FindPerimeterRotation | 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 | 
| .gif) .gif) | GetBottomPortChildren(NodeShape) | List of children port shapes on the bottom side of this component. | 
| .gif) .gif) | GetBottomPortChildren(NodeShape, RectangleD) | |
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) .gif) | GetLeftPortChildren | |
| .gif) | GetNextEdgeChildren | |
| .gif) .gif) | GetRightPortChildren(NodeShape) | |
| .gif) .gif) | GetRightPortChildren(NodeShape, RectangleD) | |
| .gif) .gif) | GetTopPortChildren | List of children port shapes on the bottom side of this component. | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | OnParentShapeResized | 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. | 
| .gif) | PositionChildPort | Auto place port shape. | 
| .gif) | ResizeParentShapeAsNeeded | |
| .gif) | RotateOnPerimeter | |
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.