Hello,
In InkCanvas Drag/Drop sample, if a stroke and a shape are selected together, they together can be dragged onto the second canvas (as expected). But if Cut/Paste is executed, they both are cut (as expected) but only the stroke is pasted back (the shape is lost). This might have something to do how clipboard works or may be implementation of InkCanvas's methods. My questions are
1. In case of Cut operation, does the clipboard get both stroke and shape as the MSDN documentation says
2. Is there a way to see what clipboard contains in XAML format I tried clipbrd but that doesn't display anything in this case.
3. Is it the Paste method that only pastes strokes and not elements From the MSDN documentation, it isn't clear whether Paste does elements as well.
Thanks in advance.
Regards,
Vinay Agarwal

InkCanvas Drag/Drop Sample - Drag/Drop effect different from Cut/Paste
Mirricle
Boris Zakharin
Hi Vinay,
you have to set the InkCanvas.PreferredPasteFormats property [1] to InkCanvasClipboardFormat.Xaml [2] in order to paste both ink and elements. The InkCanvas Clipboard sample [3] demonstrates this.
Thanks, Stefan Wick
[1] http://msdn2.microsoft.com/en-us/library/system.windows.controls.inkcanvas.preferredpasteformats.aspx
[2] http://msdn2.microsoft.com/en-us/library/system.windows.controls.inkcanvasclipboardformat.aspx
[3] http://msdn2.microsoft.com/en-us/library/aa972135.aspx