WPF full screen on maximize

后端 未结 9 1877
醉话见心
醉话见心 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:12

    You need to set the Window.Topmost property.

    Edit

    Check this blog post Maximizing window (with WindowStyle=None) considering Taskbar

提交回复
热议问题