Remove Title Bar from your WPF application

Recently, one of my friends was asking me how can him remove the title bar from his WPF Application. He dont know what the keyword he can use, I thought its interesting so I am posting here so in case if any one needs it in the future.

There are a few ways to do it.
1. Do through coding ( Code Behind ).

this.WindowStyle = WindowStyle.None;

2. Do through XAML. Add in the WindowStyle attribute to the Window Tag
Window WindowStyle="None">

3. Editing through the properties ( Ultimately, this changes the XAML )

Properties

Properties

You can check out the sample application here.
http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Code%20Guide/Windows%20Presentation%20Foundation/RemoveTitleBarWPF.zip

If you have any questions, please feel free to contact me at [email protected]