Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

Windows Phone 7 app: Adding “portrait”/“landscape” modes to Chronometer

AddThis Social Bookmark Button
This one is a short update to the Windows 7 Phone application that I have been building and blogging about – you can find the starting of the series here. The application that we have built, so far, does not respond to flipping the phone on to it’s side. For example, below are two views of the phone held upright and on its side respectively While this behavior may be fine for some applications, for our application, the display is hard to read when the phone is turned on its side, and
I would really like the display to always be “upright” irrespective of whether the phone is held upright or flipped on it side. This is easy to do! You can find the default settings for the “orientation” for the application in the default XAML file for the application. I am including below this part of the XAML for the PhoneApplication page Notice the last line above. It essentially says that the “Orientation” to start with will be in “Portrait” mode, and the “Supported Orientation” is also “Portrait” only. It is this setting which is...(Read whole news on source site)

Home : Blog List : Amit Chatterjee's Blog : Windows Phone 7 app: Adding “portrait”/“landscape” modes to Chronometer