I am developing an application in c# using WPF. I am using
Height="768" Width="1366" Loaded="WindowLoaded"
WindowStyle="ToolWindow" WindowState="Maximized"
parameters. Now to create full screen I change the WindowStyle to None. This does make it full screen but the close button disappears. Also the full screen doesn't cover the taskbar. Any suggestions?
With WPF you almost never must define Width
and Height
properties. WPF will render your screens much better by using relative sizes. So if you want a full screen ToolWindow
which covers the taskbar use:
WindowStyle="ToolWindow" ResizeMode="NoResize" WindowState="Maximized"
in your xaml.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With