GoXam for WPF v3
ComputeAutoScrollPosition Method
Northwoods.GoXam Namespace > DiagramPanel Class : ComputeAutoScrollPosition Method
The mouse point, in control coordinates.
This method is called to determine the next position in the document for this view, given a point at which the user is dragging the mouse.
Syntax
protected virtual Point ComputeAutoScrollPosition( 
   Point viewPnt
)

Parameters

viewPnt
The mouse point, in control coordinates.
Remarks
This uses the AutoScrollRegion, ScrollHorizontalLineChange, and ScrollVerticalLineChange properties to calculate a new Position. The closer the point is to the edge of the view, the larger a multiple of the ScrollHorizontalLineChange or ScrollVerticalLineChange is used as a scroll step in that direction.
See Also

Reference

DiagramPanel Class
DiagramPanel Members