How to determine orientation of Windows Phone 7?

Posted by Larsenal on Stack Overflow See other posts from Stack Overflow or by Larsenal
Published on 2010-03-18T21:32:49Z Indexed on 2010/03/18 21:41 UTC
Read the original article Hit count: 232

Filed under:

How can you tell whether the device is oriented vertically (portrait) or horizontally (landscape)?

Is there an API that simplifies this or do you have to make the determination "by hand" using the accelerometer?

© Stack Overflow or respective owner

Related posts about windows-phone-7