Windows Dev Center

PhoneApplicationFrame.Orientation Property

This property indicates the current orientation of the frame that is decided by the hosted page.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public PageOrientation Orientation { get; internal set; }

When this value changes based on navigation or changes to the current page, the OrientationChanged event is raised.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft