I want to make a sliding panel in Windows Phone 7, like the status panel in Android, that supports Tap, Drag and Flick gesture.
I’m using toolkit GestureListener for my StackPanel. It works for the Tap and DragDelta event. However when the user flicks, both DragDelta and Flick event is raised, which is hard for me to detect if user wants to drag or flick.
How can I handle these two events ?
In the
DragCompletedevent, there isVerticalVelocityinformation that can acts as aFlickdetection. See windowsphonegeek for more information