Northwoods.GoWPF 2.2.4 Assembly
PanningTool Property

Gets or sets the standard mouse-move tool for manual panning.
Syntax
<CategoryAttribute("Tools")>
Public Property PanningTool As PanningTool
[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

Reference

Diagram Class
Diagram Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback