I myself just looked at Windows 7 phones (via the version of the express version vs2010).
It seems that in the code behind this
public MainPage() { InitializeComponent();
Then the real form has
private void PhoneApplicationPage_OrientationChanging(object sender, OrientationChangedEventArgs e) { var test = e.Orientation; }
So, when the orientation changes, e.Orientation will tell you which orientation. For example, LandscapeRight.
source share