title: Why doesn't WPF Canvas alow drop?
body: <p>I have the following XAML for the main window:</p>
  
  <pre><code>&lt;Window x:Class="ImageViewer.Window1"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     Title="Window1" Height="398" Width="434"&gt;
     &lt;Grid&gt;
        &lt;Canvas AllowDrop="True" /&gt;
     &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>But when I try to drag a file to the window, drop is not allowed. When Canvas is changed to ListBox, everything works perfectly.</p>
  
  <p>How can the code be changed to allow drop to canvas?</p>