0 out of 1 rated this helpful - Rate this topic

PhoneApplicationPage.Orientation Property

July 26, 2012

Gets the current orientation.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public PageOrientation Orientation { get; set; }
<object Orientation="PageOrientation" .../>

If a page wants to force itself into a specific orientation, it must change the SupportedOrientations property to the desired orientation.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.