PanningTool
StockSharp.Xaml.Diagram.GXDiagram.Tool
The PanningTool supports manual panning, where the user can shift the DiagramPanel's Position by dragging the mouse.
Inherits: DiagramTool
Methods
CanStart() : bool
This tool can run when the diagram allows scrolling and the mouse has been dragged far enough away from the mouse-down point to avoid being a click.
DoActivate()
Establish a scroll cursor and remember the OriginalPosition of the DiagramPanel.
DoCancel()
Reset the DiagramPanel's Position and stop this tool.
DoDeactivate()
Restore the diagram's cursor.
DoMouseMove()
Modify the Diagram's Panel's Position according to how much the mouse has moved.
DoMouseUp()
Finish scrolling the diagram.
DoStart()
Capture the mouse when starting this tool.
DoStop()
Release the mouse capture when stopping this tool.