Full Screen WPF App
Another quirk in WPF, apparently
<Window Title="MainWindow" WindowState="Maximized" WindowStyle="None">
<Window Title=”MainWindow” WindowState=”Maximized” WindowStyle=”None” ResizeMode=”NoResize” >
With the former code, I got a full screen app that has a corrupt 1 – 2 pixel border down the far right hand side, this was throwing a spanning in the works for my “fly in” controls on the side.
Adding the “NoResize” fixed it right up.
Wow. Thanks a lot for that hint. I ran across this issue a few weeks ago and now found this with Google. That really helped me :).
Comment by Olaf — September 16, 2008 @ 8:22 am
I agree with Olaf, this also helped me. Seems that without putting NoResize on the window, it will create a border that can be used to resize the window. (Can be seen if Maximised is not set).
Comment by FeLiZk — December 31, 2008 @ 5:06 am
Quick tip : My WPF Fullscreen window still display a border on right and bottom side… how to remove it…
Creating a fullscreen window in WPF is quite simple but in my current project I was facing a little drawback : a border was still visible on the bottom and on the right side of my window….
Trackback by Yet another blog about : WPF, Surface, Win 7, NUI.... — September 23, 2010 @ 8:00 pm