Visual Basic (Declaration) | |
---|---|
Public Enum LabelOrientation Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
C# | |
---|---|
public enum LabelOrientation : System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
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. |
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. |
Minus90Upright | 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, but is never upside down. |
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. |
Plus90Upright | 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, but is never upside down. |
Upright | 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. |
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. |
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.
System.Object
System.ValueType
System.Enum
Northwoods.GoXam.LabelOrientation