


You can do this by going to Settings, Update & Security and then clicking on Recovery. I can manually drag the window to the size I want after it launches but I want it so simply just launch this size everytime. If your default apps, like Microsoft Edge, Microsoft Store, Mail, Calendar, etc., are missing and nothing above worked for you, then the only other option at this point is a full reset. I did notice that in, I could do: this.Width = 400 Īnd that does work to size the MainPage frame within the window properly but the overall Window stays the same size. Based on some reading, I also tried adding: ApplicationView.GetForCurrentView().TryResizeView(desiredSize) īoth after in and at the end of the constructor in. I have put the following: var desiredSize = new Size(400, 600) ĪpplicationView.GetForCurrentView().ExitFullScreenMode() ĪpplicationView.GetForCurrentView().SetPreferredMinSize(desiredSize) ĪpplicationView.PreferredLaunchViewSize = desiredSize ĪpplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.PreferredLaunchViewSize Īnd have tried that snippet in first the constructor for (which didn't work), then just above () I want to restrict it to a pre-defined size when it launches. Basically, my app is launching full screen everytime. I had read a ton about setting the app window size on launch.
