How to hide the border around child window

Posted by Subhen on Stack Overflow See other posts from Stack Overflow or by Subhen
Published on 2010-05-28T10:52:45Z Indexed on 2010/05/28 12:51 UTC
Read the original article Hit count: 481

Hi,

I have a child Window , and I am displaying it from the code behind as below:

ChildPhotoViewer PhotoViewer = new ChildPhotoViewer();
                PhotoViewer.DataContext = selectedPhoto;
                PhotoViewer.Title = selectedPhoto.strTitle.ToString();
                PhotoViewer.Show();

But While Displaying the child window I am getting the Close Button and a Border thickness arround the Window.

I am able to hide the Close Button but is there a way to hide the thickness(Border) across the child window.

Thanks,

Subhen

© Stack Overflow or respective owner

Related posts about wpf

Related posts about Silverlight