PhoneApplicationFrame.Orientation Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 Property Orientation As PageOrientation
public PageOrientation Orientation { get; internal set; }

Property Value

Type: Microsoft.Phone.Controls..::.PageOrientation
Returns PageOrientation.


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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


PhoneApplicationFrame Class

Microsoft.Phone.Controls Namespace