title: How do I create a pop up window containing a canvas?
body: <p>I'm creating a little paint program and I want to have a canvas pop up when I click on a button.</p>
  
  <pre><code>private void buttonNewDrawing_Click(object sender, RoutedEventArgs e)
  {
      MessageBox.Show(mainCanvas);
  }
  </code></pre>
  
  <p>Doesn't work obviously because it's asking for a string. but what can I then use instead of a <code>MessageBox</code> to just have the canvas <code>mainCanvas</code> pop up so I can use it?</p>
  
  <p>Thank you in advance.</p>