DisplayOrientationΒΆ

enum DisplayOrientation : System.Enum, System.IComparable, System.IFormattable, System.IConvertible

Defines the orientation of the display.

DisplayOrientation Default

The default orientation.

DisplayOrientation LandscapeLeft

The display is rotated counterclockwise into a landscape orientation. Width is greater than height.

DisplayOrientation LandscapeRight

The display is rotated clockwise into a landscape orientation. Width is greater than height.

DisplayOrientation Portrait

The display is rotated as portrait, where height is greater than width.

DisplayOrientation PortraitDown

The display is rotated as inverted portrait, where height is greater than width.

DisplayOrientation Unknown

Unknown display orientation.