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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -