void OnPaste(object sender, Windows.UI.Xaml.RoutedEventArgs e) { if (inkManager.CanPasteFromClipboard()) { inkManager.PasteFromClipboard(new Windows.Foundation.Point(10, 10)); // We don't know what has been added so we clear the render and add back all the ink saved in the ink manager renderer.Clear(); renderer.AddInk(inkManager.GetStrokes()); renderer.UpdateSelection(); } else { rootPage.NotifyUser("The clipboard does not contain ink compatible objects. Cannot paste from clipboard.", SDKTemplate.NotifyType.ErrorMessage); } }