GoXam for WPF v3
RotatingTool Class
Members 
Northwoods.GoXam.Tool Namespace : RotatingTool Class
The RotatingTool is used to interactively change the angle of an element.
Object Model
RotatingTool ClassNode ClassDiagram Class
Syntax
[DesignTimeVisible(false)]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class RotatingTool : DiagramTool, IDiagramTool  
Remarks

This tool allows the user to rotate the Northwoods.GoXam.Part.SelectionElement of the selected part. Normally this works with Northwoods.GoXam.Nodes; it does not make sense for Northwoods.GoXam.Groups and Northwoods.GoXam.Links.

You can limit the permitted angles by setting SnapAngleMultiple and SnapAngleEpsilon. For example, if you want to permit only angles that are multiples of 90 degrees, set SnapAngleMultiple to 90 and SnapAngleEpsilon to 45.

This tool makes use of an Northwoods.GoXam.Adornment, shown when the AdornedNode is selected, that includes a rotate handle.

This tool conducts a model edit (DiagramTool.StartTransaction and DiagramTool.StopTransaction) while the tool is DiagramTool.Active.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  Northwoods.GoXam.Tool.DiagramTool
                     Northwoods.GoXam.Tool.RotatingTool

See Also

Reference

RotatingTool Members
Northwoods.GoXam.Tool Namespace