ApplicationViewOrientation ApplicationViewOrientation ApplicationViewOrientation ApplicationViewOrientation ApplicationViewOrientation Enum

Definition

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

public : enum class ApplicationViewOrientation
enum class winrt::Windows::UI::ViewManagement::ApplicationViewOrientation : int32_t
public enum ApplicationViewOrientation
Public Enum ApplicationViewOrientation
var value = Windows.UI.ViewManagement.ApplicationViewOrientation.landscape;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Landscape Landscape Landscape Landscape Landscape 0

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

Portrait Portrait Portrait Portrait Portrait 1

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