How to prevent portrait mode orientation in the Store Store app (tablet)?

I have a version of the Windows tab, I tried to set the landscape.

I proceed to edit Package.appxmanifest

        <m2:InitialRotationPreference>
          <m2:Rotation Preference="landscape" />
          <m2:Rotation Preference="landscapeFlipped" />
        </m2:InitialRotationPreference>

Any other landscape orientation solution is installed by default.

+4
source share
1 answer

If you remove portrait mode from the application manifest (I suggest using the manifest constructor instead of a text editor), you can completely disable portrait mode.

enter image description here

+2
source

Source: https://habr.com/ru/post/1531499/


All Articles