GoXam for WPF v3
LabelOrientation Enumeration
Northwoods.GoXam Namespace : LabelOrientation Enumeration
This enumeration governs if and how a LinkPanel's child element or label node is rotated to be oriented along the Route of a Link.
Syntax
public enum LabelOrientation : System.Enum 
Members
MemberDescription
Along The element's angle is always the same as the angle of the link's route at the segment where the element is attached. The element is turned to have the same angle as the route. Use this orientation for arrow heads.
Minus90 The element's angle is always 90 degrees less than the angle of the link's route at the segment where the element is attached. The element is turned counter-clockwise to be perpendicular to the route.
Minus90UprightThe element's angle is always 90 degrees less than the angle of the link's route at the segment where the element is attached, but is never upside down. The element is turned counter-clockwise to be perpendicular to the route, just like Minus90. This is typically only used for elements that contain text.
None The element is never rotated -- the angle is always zero.
Opposite The element's angle is always 180 degrees opposite from the angle of the link's route at the segment where the element is attached.
Plus90 The element's angle is always 90 degrees more than the angle of the link's route at the segment where the element is attached. The element is turned clockwise to be perpendicular to the route.
Plus90UprightThe element's angle is always 90 degrees more than the angle of the link's route at the segment where the element is attached, but is never upside down. The element is turned clockwise to be perpendicular to the route, just like Plus90. This is typically only used for elements that contain text.
UprightThe element's angle always follows the angle of the link's route at the segment where the element is attached, but is never upside down. The element is turned to have the same angle as the route, just like Along. This is typically only used for elements that contain text.
Upright45 The element's angle always follows the angle of the link's route at the segment where the element is attached, but is never upside down and is never angled more than +/- 45 degrees. When the route's angle is within 45 degrees of vertical (90 or 270 degrees), the element's angle is set to zero. This is typically only used for elements that contain text.
Remarks

These values are supplied by the LinkPanel.GetOrientation attached property on each link panel child element or label node. You can also override LinkPanel.ComputeAngle for more flexibility in controlling the angle of an element.

The "Upright" values are typically only used when the element contains text.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Northwoods.GoXam.LabelOrientation

See Also

Reference

Northwoods.GoXam Namespace