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

The PanningTool supports manual panning, where the user can shift the Northwoods.GoXam.DiagramPanel's Northwoods.GoXam.DiagramPanel.Position by dragging the mouse.

Syntax

Visual Basic (Declaration) 
Public Class PanningTool 
   Inherits DiagramTool
   Implements IDiagramTool 
C# 
public class PanningTool : DiagramTool, IDiagramTool  

Remarks

This tool is a standard mouse-move tool. Although CanStart is frequently able to return true, this tool is normally not run because other mouse-move tools will take precedence. In particular, the DragSelectingTool will run when the user drags in the diagram's background. Disable or remove the Northwoods.GoXam.Diagram.DragSelectingTool to enable background panning. Disable diagram selection or dragging to enable panning everywhere in the diagram.

For example, you can enable background panning by removing the drag-selecting tool:

              <go:Diagram ...
                  DragSelectingTool="{x:Null}" >
              </go:Diagram>
            

This tool does not utilize any Northwoods.GoXam.Adornments or tool handles.

This tool does not edit the model.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            Northwoods.GoXam.Tool.DiagramTool
               Northwoods.GoXam.Tool.PanningTool

Requirements

See Also

© 2012 All Rights Reserved.