Windows Dev Center

ApplicationViewOrientation enumeration

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

Syntax


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

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 (Windows 10 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 (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06030000)]

 

 

Show:
© 2015 Microsoft