void Overlay_ManipulationCompleted(object sender, ManipulationCompletedRoutedEventArgs e) { // reset the clip to show the full overlay this.Clip.Rect = new Rect(0, 0, this.ImagePanel2.ActualWidth, this.ImagePanel2.ActualHeight); }