WPF How to disable rotation of some elements during screen rotation?

I am currently building a Win 8.1 generic app. It should have both landscape and portrait views. But the only difference between these two states is that some elements just "rotate" to the correct direction, and the main mesh does not rotate.

I don't have enough reputation, so here is a link to a picture of my concept

Is there a way to disable rotation of the state change on only some of the elements, or do I need to determine the screen orientation and just rotate the elements I want?

+3


source to share


1 answer


This is a pretty simple problem and you have to implement your second method:



  • Identify elements that shouldn't rotate
  • Rotate them back towards the screen
0


source







All Articles