Launch windows 8.1 Store application in Windows 10 in full screen mode

Is it possible to force the launch of the Windows 8.1 Store application in full screen mode in Windows 10, as it was in Windows 8? I tried this for several days, but I can not find a solution.

+4
source share
2 answers

I think you can use WindowState="Maximized" .

Here is a sample code:

 <Window x:Class="HTA.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" WindowState="Maximized"> 

You may find more similar questions:

Fullscreen WPF .

-one
source

If you are creating a universal window application , use this code:

 using Windows.UI.ViewManagement; namespace yourNameSpace { sealed partial class App : Application { public App() { this.InitializeComponent(); ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.FullScreen; } } } 

Have a look here for more information on ApplicationView.PreferredLaunchWindowingMode .

-one
source

All Articles