Export (0) Print
Expand All

PortPlacementHelper Class

Object
  Microsoft.VisualStudio.Modeling.Diagrams.PortPlacementHelper

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

public class PortPlacementHelper

The PortPlacementHelper type exposes the following members.

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodFindEmptyPortPosition
Public methodFindPerimeterRotationGiven 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
Protected methodStatic memberGetBottomPortChildren(NodeShape)List of children port shapes on the bottom side of this component.
Protected methodStatic memberGetBottomPortChildren(NodeShape, RectangleD)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Protected methodStatic memberGetLeftPortChildren
Protected methodGetNextEdgeChildren
Protected methodStatic memberGetRightPortChildren(NodeShape)
Protected methodStatic memberGetRightPortChildren(NodeShape, RectangleD)
Protected methodStatic memberGetTopPortChildrenList of children port shapes on the bottom side of this component.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnParentShapeResizedThis 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.
Public methodPositionChildPortAuto place port shape.
Protected methodResizeParentShapeAsNeeded
Public methodRotateOnPerimeter
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft