title: How to hide the border around child window
body: <p>I have a child Window , and I am displaying it from the code behind as below:</p>
  
  <pre><code>ChildPhotoViewer PhotoViewer = new ChildPhotoViewer();
                  PhotoViewer.DataContext = selectedPhoto;
                  PhotoViewer.Title = selectedPhoto.strTitle.ToString();
                  PhotoViewer.Show();
  </code></pre>
  
  <p>But While Displaying the child window I am getting the Close Button and a Border thickness arround the Window.</p>
  
  <p>I am able to hide the Close Button but is there a way to hide the thickness(Border) across the child window.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>![alt text][1]</p>
  
  <p>In the Image , there is border arround image after Collpasing the Close button and making </p>
  
  <pre><code>PhotoViewer.Title = null;
  PhotoViewer.HasCloseButton = false;
  </code></pre>
  
  <p>I want to get rid of that Rectangular Border.</p>