Windows Store App Display Orientation Sample
Download this attached sample code to learn how to use Display orientation in a Windows Store App using C#.
Download this attached sample code to learn how to use Display orientation in a Metro style app using C#.