Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to maximise a Windows 10 Universal Application's window to full screen when running on a desktop?

When building a universal application using Windows 10 (or Windows 8.1 WinRT), is it possible to force the application's main window to maximise on launch? This is obviously natural behaviour for the application when running on a mobile device but not when running on the desktop.

This is certainly possible using WinForms:

  • How do I make a WinForms app go Full Screen
  • How to display a Windows Form in full screen on top of the taskbar?

But I haven't so far managed to find anything in the Microsoft Documentation about this for Windows 10.

like image 882
Gordonium Avatar asked Jun 19 '15 10:06

Gordonium


People also ask

How do I get Windows 10 to open maximized?

Press Win+Shift Key+M for maximizing them all. If you only want to minimize the current window, hold down Windows Key and press the down arrow key. If you want to maximize the same window, hold Windows Key and press up arrow key.

How do I force a window to maximize?

To maximize a window, grab the titlebar and drag it to the top of the screen, or just double-click the titlebar. To maximize a window using the keyboard, hold down the Super key and press ↑ , or press Alt + F10 .


Video Answer


1 Answers

An app can request to start as full screen by setting the ApplicationView.PreferredLaunchWindowingMode to ApplicationViewWindowingMode.FullScreen

Roberth discussed this along with other view and window size issues in his Build session Navigation and Windowing in Universal Windows Apps

like image 157
Rob Caplan - MSFT Avatar answered Oct 15 '22 19:10

Rob Caplan - MSFT