WPF full screen on maximize

后端 未结 9 1898
醉话见心
醉话见心 2021-02-04 12:56

I basically want to have my WPF window to go in full screen mode, when F11 is pressed or the maximize button in the right top corner of the window is pressed.

While the

9条回答
  •  爱一瞬间的悲伤
    2021-02-04 13:17

    try this

    Topmost="True" and WindowState="Maximized"
    

    you can see your window will cover all screen and hide all with windows taskbar

提交回复
热议问题