PortPlacementHelper Class
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
'Declaração
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 | |
---|---|---|
PortPlacementHelper |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindEmptyPortPosition | ||
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 | |
GetBottomPortChildren(NodeShape) | List of children port shapes on the bottom side of this component. | |
GetBottomPortChildren(NodeShape, RectangleD) | ||
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLeftPortChildren | ||
GetNextEdgeChildren | ||
GetRightPortChildren(NodeShape) | ||
GetRightPortChildren(NodeShape, RectangleD) | ||
GetTopPortChildren | List of children port shapes on the bottom side of this component. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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. | |
PositionChildPort | Auto place port shape. | |
ResizeParentShapeAsNeeded | ||
RotateOnPerimeter | ||
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.