title: How to make the round shaped corner wpf form
body: <p>hi want to use the corner radius in the mainwindows of WPF. but when i use border control to do this it not work.</p>
  
  <p>my question is that i want my application with round shaped corner. i did this with usercontrol but unable to do this with main form in WPF.</p>
  
  <p>so please tell me how i do this.</p>
  
  <p>here is my xaml code.</p>
  
  <pre><code>&lt;window....&gt;
   &lt;Grid&gt;
       &lt;Border CornerRadius="10"&gt;
         &lt;Grid&gt;
            -------------
         &lt;/Grid&gt;
       &lt;/Border&gt;
   &lt;/Grid&gt;
  &lt;/window&gt;
  </code></pre>