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)

Syntax

Public Property Orientation As PageOrientation
public PageOrientation Orientation { get; internal set; }

Property Value

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

Remarks

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

Platforms

Windows Phone

See Also

Reference

PhoneApplicationFrame Class

Microsoft.Phone.Controls Namespace