GoXam for WPF v3
DoAutoScroll Method
Northwoods.GoXam Namespace > DiagramPanel Class : DoAutoScroll Method
the current mouse point, in model coordinates
Start or continue automatically scrolling the view during a mouse drag.
Syntax
public void DoAutoScroll( 
   Point modelPnt
)

Parameters

modelPnt
the current mouse point, in model coordinates
Remarks

As soon ComputeAutoScrollPosition returns a new Position value, this method starts a Timer that waits for AutoScrollDelay milliseconds. After waiting, it repeatedly sets Position to the latest ComputeAutoScrollPosition value, until the position does not change (presumably because the Diagram's last mouse point is no longer in the autoscroll margin). Setting this view's Position occurs each AutoScrollTime milliseconds.

This method is normally called by those tools that want to support auto-scrolling during a mouse move, such as dragging. The timer is stopped when the mouse leaves this view.

See Also

Reference

DiagramPanel Class
DiagramPanel Members
StopAutoScroll Method