Hello All,
In this video I show you how to:
1. Create an application bar with Menu Items for Portrait, Landscape and PortraitOrLandscape Page Orientations.
2. Create an Event Handler for OnOrientationChanged
3. In the above Event Handler we set the PageOrientation for the page using a Switch statement
4. Add an image and use the Windows Phone 7 (WP7) emulator to change the page orientation and see how the different PageOrientations layout the objects in the Visual Tree
5. Add a TextBlock that is Data Bound to the Supported Page Orientation of the page
Source:http://windowspresentationfoundation.com/Tutorials/WP7PageOrientation/PageOrientationDemo_01.zip
Enjoy and look for more WP7 Mango Video Tutorials coming soon!
Victor Gaudioso
December 6th, 2011 on 11:43 am