GoXam for WPF v3
RotationAngle Property
Northwoods.GoXam Namespace > Node Class : RotationAngle Property
Gets or sets the angle of the node's SelectionElement, in degrees.
Syntax
public double RotationAngle {get; set;}

Property Value

The default value is 0.0 degrees. The value is actually stored on the VisualElement. One normally sets it by setting or data-binding the attached property on the root element of the DataTemplate.
Remarks

Angles start with zero being rightwards, in the direction of the positive X axis, and increase clockwise. 90 degrees, for example, goes downwards, in the direction of the positive Y axis.

It is the SelectionElement that is rotated, not necessarily the whole node. Often one wants to rotate the principal element(s) of the node, but not the text or other decorations.

You can enable user-controlled rotation of nodes by setting Rotatable to true. That makes use of the Northwoods.GoXam.Tool.RotatingTool, which may set this dependency property. Therefore one-way data-bindings of this attached dependency property to updated source properties may not get updated values when this property has been set.

See Also

Reference

Node Class
Node Members