i tried getting this to work for many hours, but i just don't understand what i am doing wrong =(
On the internet and especially this side are some solutions but i couldn't get them running. i.e. there was a similar question, but he used GestureListener
which doesn't seem to be supported for windows phone 8.1, or maybe i am missing sth.
Also i am confused which gesture i should use (dragging / crossSliding / Manipulation-Updated)
So, what i want is rather simple. I want to wipe from top to bottom / from bottom to top and get a number back, like the distance of movement. Also some sort of determination if movement was up or down.
public MainPage()
{
this.InitializeComponent();
GestureRecognizer gr = new GestureRecognizer();
gr.Dragging += gr_dragging;
gr.GestureSettings = GestureSettings.Drag;
}
void gr_dragging(GestureRecognizer sender, DraggingEventArgs args)
{
Debug.WriteLine("dragging");
}
I don't know whats wrong here, but i never get to see the Debug
message. If somebody can please point me in the right direction, that would be great !