Swipe Gesture in windows 8 store apps RRS feed

  • Question

  • Hi,

    How to find a left to right and right to left swipe gesture in windows 8 store apps. 

    Thursday, January 3, 2013 11:56 AM


  • You can observe the collection of intermediate points in a
    "protected override void OnPointerMoved(Windows.UI.Xaml.Input.PointerRoutedEventArgs e)" or equivalent event handler.

    See: IList<PointerPoint> list = e.GetIntermediatePoints(this); in ListView Swipe left / right on an item as an example. This technique works for any FrameworkElement overridden 'OnPointerMoved' method; and not only a 'ListView'.

    Thursday, January 3, 2013 12:11 PM