ApplicationViewOrientation enumeration

Defines the set of display orientation modes for a window (app view).

Syntax


var value = Windows.UI.ViewManagement.ApplicationViewOrientation.landscape;

Attributes

[Version(0x06030000)]

Members

The ApplicationViewOrientation enumeration has these members.

MemberValueDescription
Landscape | landscape0

The window is in landscape orientation, with the display width greater than the height.

Portrait | portrait1

The window is in portrait orientation, with the display height greater than the width.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.ViewManagement
Windows::UI::ViewManagement [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.ViewManagement
Windows::UI::ViewManagement [C++]

Metadata

Windows.winmd

 

 

Show:
© 2015 Microsoft