Grab-to-pan in Silverlight app -
I have canvas inside a scrollViewer. I want the user to be able to capture and move the canvas, scrollbars But with a thumbs up properly on updating My initial implementation calculates the offset on each mouse move, and updates the scrollbar: // calculate new drag distance newOffsetPos = e.GetPosition (MapCanvas); System.Diagnostics.Debug.WriteLine ("New Offset Grade:" + newOffsetPos.X + "" + newOffsetPos.Y); Double delta x = newoffset.pos.x - _offset.position.x; Double Delta Y = newOffsetPos.Y - _offsetPosition.Y; System.Diagnostics.Debug.WriteLine ("Delta X / Y:" + DeltaX + "" + Delta) "; System.Diagnostics.Debug.WriteLine ("SV offset X / Y:" + _scrollViewer.HorizontalOffset + "" + _scrollViewer.VerticalOffset); _scrollViewer.ScrollToHorizontalOffset (_scrollViewer.HorizontalOffset - Deltax); _scrollViewer.ScrollToVerticalOffset (_scrollViewer.VerticalOffset - Delta); _offsetPosition = newOffsetPos; Although...