title: WPF Drag and Drop
body: <p>How to implement drag &amp; drop for a WPF application? I could open 2 the same apps and drag an object from one to another. Here's what I want to drag:</p>
  
  
  
  <pre class="lang-xaml prettyprint-override"><code>&lt;Grid Width="100" Height="50"&gt;
   &lt;Rectangle BackGround="Red"/&gt;
   &lt;TextBlock&gt;Hello World&lt;/TextBlock&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>The Grid has to look the same in the other app where it is dragged as the one from it was dragged. Any solutions?</p>