SupportedPageOrientation Enumeration

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

An enumeration defining the orientations that may be supported by an application.

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

Syntax

Public Enumeration SupportedPageOrientation
public enum SupportedPageOrientation
<object property="enumerationValue" .../>

Members

Member name Description
Portrait Portrait orientation.
Landscape Landscape orientation. Landscape supports both left and right views, but there is no way programmatically to specify one or the other.
PortraitOrLandscape Landscape or portrait orientation.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Microsoft.Phone.Controls Namespace