Northwoods.GoSilverlight 1.2.2 Assembly
PanningTool Property
See Also  Send Feedback
Northwoods.GoXam Namespace > Diagram Class : PanningTool Property

Gets or sets the standard mouse-move tool for manual panning.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Tools")>
Public Property PanningTool As PanningTool
C# 
[CategoryAttribute("Tools")]
public PanningTool PanningTool {get; set;}

Property Value

The default value is an instance of PanningTool.

Remarks

Normally the DragSelectingTool takes precedence, because both tools operate on a left-button-mouse-down in the background followed by a mouse-drag. But DragSelectingTool precedes this PanningTool in the list of MouseMoveTools, so if it is applicable, it is always chosen first.

To enable this mode-less panning tool, you can remove the drag-selecting tool or you can disable that tool by disallowing selection. Remove the tool in WPF XAML by:

              <go:Diagram ... DragSelectingTool="{x:Null}" >
                . . .
              </go:Diagram>
            
or remove it in code by:
              myDiagram.DragSelectingTool = null;
            
You can disable user selection by setting the AllowSelect property to false.

Requirements

See Also

© 2010 All Rights Reserved.