Exemple #1
0
        private void gesture_DragStarted(object sender, DragStartedGestureEventArgs e)
        {
            var point = e.GetPosition(ContentPanel);

            message.Text      = string.Format("drag started at ({0},{1}) in the {2} direction ", point.X, point.Y, e.Direction);
            flickMessage.Text = null;
        }
Exemple #2
0
 private void GestureListener_DragStarted(object sender, DragStartedGestureEventArgs e)
 {
     firstPos = e.GetPosition(LayoutRoot);
 }