SimpleOrientation SimpleOrientation SimpleOrientation SimpleOrientation Enum

Definition

Indicates the orientation of the device.

public : enum class SimpleOrientation
public enum SimpleOrientation
Public Enum SimpleOrientation
var value = Windows.Devices.Sensors.SimpleOrientation.facedown;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Facedown Facedown Facedown Facedown

The device is face-down and the display is hidden from the user.

Faceup Faceup Faceup Faceup

The device is face-up and the display is visible to the user.

NotRotated NotRotated NotRotated NotRotated

The device is not rotated.

Rotated180DegreesCounterclockwise Rotated180DegreesCounterclockwise Rotated180DegreesCounterclockwise Rotated180DegreesCounterclockwise

The device is rotated 180-degrees counter-clockwise.

Rotated270DegreesCounterclockwise Rotated270DegreesCounterclockwise Rotated270DegreesCounterclockwise Rotated270DegreesCounterclockwise

The device is rotated 270-degrees counter-clockwise.

Rotated90DegreesCounterclockwise Rotated90DegreesCounterclockwise Rotated90DegreesCounterclockwise Rotated90DegreesCounterclockwise

The device is rotated 90-degrees counter-clockwise.

Remarks

The Faceup and Facedown values are supported for tablet devices. You can use them to support power management: As long as the orientation is Faceup, your application will continue to run; but, once the orientation is Facedown, your application can pause or enter "sleep mode".