private void LessonContainer_TouchUp(object sender, TouchEventArgs e) { // Un-forward touch events to container //FrameworkElement control = sender as FrameworkElement; //control.ReleaseTouchCapture(e.TouchDevice); //LessonContainer.ContentReleaseTouchCapture(e.TouchDevice); //LessonContainer.IsContentManipulationEnabled = false; //e.Handled = true; if (layerStack.CurrentState.FingerInkingEnabled) { LessonContainer.IsContentManipulationEnabled = true; return; } // Re-enable manipulation/drawing layerStack.ContainerTouchUp(); LessonContainer.IsContentManipulationEnabled = true; }