GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGeneralNode Class / OnOrientationChanged Method
the former Orientation value
In This Topic
    OnOrientationChanged Method (GoGeneralNode)
    In This Topic
    Determine how to change the whole node when the Orientation changes.
    Syntax
    public virtual void OnOrientationChanged( 
       Orientation old
    )

    Parameters

    old
    the former Orientation value
    Remarks
    By default, changing the Orientation property will reposition all of the ports appropriately and change the ports' ToSpot and FromSpot properties. When Orientation is Orientation.Horizontal, "left" ports are in fact on the left side, "right" ports are on the right side, source links come into the left ports on the left side, and destination links go out of the right ports from the right side. When Orientation is Orientation.Vertical, "left" ports are on top of the node, "right" ports are on the bottom, and links come in from the top and go out from the bottom.
    See Also