windows phone 8 - How to prevent rotating of a single element on page in WP8.1 universall app? -


i need disable auto rotation (when device orientation changed) 1 single element on page. can disable in app by:

windows.graphics.display.displayinformation.autorotationpreferences = displayorientations.portrait; 

but not want. how can that?

cannot disable rotate individual item. if application changes screen orientation rotated elements.

if track event screen rotation, , resize element in opposite direction. don't think it's solution.


Comments

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -