Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Value of App.ActiveScreen.Orientation property remains unchanged when device is rotated



I am struggling with making my app respond to changes in screen orientation, so I set up a test app that does just one thing: show the current value of the App.ActiveScreen.Orientation property in a label. App settings for Screen Size + Orientation can be seen in the screenshot attached.


When I run this app on my iPad Pro 12.9 (also tested on Google Pixel 3), the app responds to device rotation by adequately rotating the screen, however the value of the App.ActiveScreen.Orientation property remains unchanged: horizontal. Same with Parent.Orientation property of individual controls. Or with Parent.Width -- that stays stuck at 1366, no matter the device orientation. Without those properties being updated correctly, any attempt at building a responsive app is futile.


So I must me grossly missing something obvious here. But what?


Thanks in advance for the help!

Community Support
Community Support



Everything looks to be fine to me. I am not certain what exactly is incorrect. This might be a better question to bring to Microsoft Support, I'll include a link below; if you would like to go down this route. otherwise if any other communities members might know the answer here feel free to chime in.


If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so:








Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Advocate I
Advocate I

Hi cheresier,

Did you ever find out what was the issue ? I am facing the same issue. Please let me know what was the outcome of this.


Frequent Visitor

It has been a while now, but I think what ultimately worked for me was to check whether App.Width < App.Height as a way of determining the app's orientation. This link helped too:

Thanks for getting back to me, I thought about doing it but even the App.Width/Height or App.DesignWidth/Design Height with the Screen.Orientation or App.ActiveScreen.Orientation values do not change and they seems to get stuck most of the time while rotating a device.

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,851)