This topic has not yet been rated - Rate this topic

DisplayOrientation Enumeration

Defines the display orientation.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

[FlagsAttribute]
public enum DisplayOrientation
  Member name Description
Default The default display orientation.
LandscapeLeft The display is rotated counterclockwise 90 degrees into a landscape orientation, where the width is greater than the height.
LandscapeRight The display is rotated clockwise 90 degrees into a landscape orientation, where the width is greater than the height.
Portrait The orientation is a portrait, where the height is greater than the width.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ