title: Wpf Placing Object
body: <p>i'm trying to make an application that allows me to create objects and place them in a canvas area. The actual behave of my application is:</p>
  
  <ol>
  <li>Create an object and add it to a listbox</li>
  <li>You can modify the object by rightclicking it on the listbox and also duplicate it</li>
  <li>To place the object in the canvas area drag and drop it from the list box</li>
  <li>You can move freely the object in the area by dragging and dropping it</li>
  </ol>
  
  <p>My question is how should I handle if an item is already placed in that area?
  I already check that but only for </p>
  
  <pre><code>Private Sub MyCanvas_MouseUp(sender As Object, e As MouseButtonEventArgs)
      Dim Position As Point = e.GetPosition(MyCanvas)
  End Sub
  </code></pre>
  
  <p>With that i check if the left button is released over an used area but if I release the mouse before the object will overlap the other one</p>
  
  <p>Also i would like to define a grid to dispose the objects in a well-ordered way thanks in advance</p>