An iPhone-like drag scroller adaptor for ScrollViewer controls for Silverlight 3 (same code can be used in Silverlight 2). The user can drag the content around with the mouse and then throw it by flicking and releasing the button. Includes the abiliity
to fine-tune friction.
This control allows content to be dragged and flung with the mouse, much like what you see on the iPhone, for example. You can adjust the amount of momentum/friction on the content so that it either stops right after the mouse button is released (high friction)
or continues until the end of the control content is reached (low/no friction).
This control extends the WPF ScrollViewer control.
For examples of this control in action (at least the Silverlight 3 version, which should act similarly), see the following pages:
- Picture pages use the drag scrolling functionality
- Diary pages use the drag scrolling functionality