Northwoods.GoSilverlight 1.3.5 Assembly
RotatingTool Class
Members  See Also  Send Feedback
Northwoods.GoXam.Tool Namespace : RotatingTool Class

The RotatingTool is used to interactively change the angle of an element.

Syntax

Visual Basic (Declaration) 
Public Class RotatingTool 
   Inherits DiagramTool
   Implements IDiagramTool 
C# 
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.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            Northwoods.GoXam.Tool.DiagramTool
               Northwoods.GoXam.Tool.RotatingTool

Requirements

See Also

© 2012 All Rights Reserved.