Full screen in WPF application

后端 未结 2 1220
Happy的楠姐
Happy的楠姐 2020-12-12 20:26

I am developing a WPF application which will be displayed in Full screen. In addition, the application should work on many tablets of multiple dimensions. I\'d like my appli

2条回答
  •  一向
    一向 (楼主)
    2020-12-12 20:48

    Set the WindowStyle to None, and the WindowState to Maximized. This can be done like this:

    WindowState = WindowState.Maximized;
    WindowStyle = WindowStyle.None;
    

    Or in xaml:

    
    

    And simply click ALT-TAB to escape from your full screen wpf. It allows you to switch between other applications.

提交回复
热议问题