PortPlacementHelper Class

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

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::PortPlacementHelper

public ref class PortPlacementHelper 

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodFindEmptyPortPosition(Port^, NodeShape^)

System_CAPS_pubmethodFindPerimeterRotation(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

System_CAPS_protmethodSystem_CAPS_staticGetBottomPortChildren(NodeShape^)

List of children port shapes on the bottom side of this component.

System_CAPS_protmethodSystem_CAPS_staticGetBottomPortChildren(NodeShape^, RectangleD)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodSystem_CAPS_staticGetLeftPortChildren(NodeShape^)

System_CAPS_protmethodGetNextEdgeChildren(PortPlacement, NodeShape^, ArrayList^, PointD)

System_CAPS_protmethodSystem_CAPS_staticGetRightPortChildren(NodeShape^)

System_CAPS_protmethodSystem_CAPS_staticGetRightPortChildren(NodeShape^, RectangleD)

System_CAPS_protmethodSystem_CAPS_staticGetTopPortChildren(NodeShape^)

List of children port shapes on the bottom side of this component.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOnParentShapeResized(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.

System_CAPS_pubmethodPositionChildPort(Port^, NodeShape^)

Auto place port shape.

System_CAPS_protmethodResizeParentShapeAsNeeded(PointD, Port^, NodeShape^)

System_CAPS_pubmethodRotateOnPerimeter(NodeShape^, RectangleD, Double, PortPlacement)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: