0

I think you dont need that much information or my code. My Problem is, that I want to start my App. Like every other App you can change the size with your mouse when the app is running. I want the complete opposite. Is it possible to set the Windowsize fix so the user can not change the size by himself?

This is what I tried. Its starting with 1280/720, but of course you can change the size of the window still.

ApplicationView.PreferredLaunchViewSize = new Size(720, 1280); ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.PreferredLaunchViewSize;

2
  • 2
    It's not possible directly in UWP Commented Jun 12, 2019 at 15:49
  • The UWP app is designed to run on different devices that run Windows 10. What you think is unreasonable. So, like @Muzib said, it's impossible. Commented Jun 13, 2019 at 5:43

1 Answer 1

1

You can't in UWP. But what you can do is scale your view using a scale transform if your goal is to preserve the layout arrangement without doing a ton of work to design a reactive layout.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.