2

In Windows 8 Win Store apps started by default in full screen mode.

In Windows 10 Desktop Mode apps starts in windowed mode, and app title bar has additional icon, which allows to switch to full screen mode (first icon, note that it's different behavior than maximizing window, third icon).

Windows 10 Win Store Title Bar

Is there a possibility to maximize this window programatically, e.g. via WinAPI call? Alternatively, is there any option (other than switching to Tablet Mode) to start it in full screen by default?

Question is not about changing app sources, I want to switch running app to full screen as a part of automated testing process.

Łukasz Rogalski
  • 22,092
  • 8
  • 59
  • 93
  • Possible duplicate of [How to maximise a Windows 10 Universal Application](http://stackoverflow.com/questions/30936104/how-to-maximise-a-windows-10-universal-applications-window-to-full-screen-when) – Muhammad Hassan Jan 21 '16 at 11:02

1 Answers1

0

Yes you can try to make the app runs in full screen by:

ApplicationView.GetForCurrentView().TryEnterFullScreenMode();

And try to play and check the methods available in ApplicationView.GetForCurrentView().. You'll love it :)

Nasser AlNasser
  • 1,725
  • 2
  • 11
  • 12