DisplayOrientation Enumeration

XNA Game Studio 4.0
Defines the display orientation.

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

[FlagsAttribute]
public enum DisplayOrientation

 Member nameDescription
DefaultThe default display orientation.
LandscapeLeftThe display is rotated counterclockwise 90 degrees into a landscape orientation, where the width is greater than the height.
LandscapeRightThe display is rotated clockwise 90 degrees into a landscape orientation, where the width is greater than the height.
PortraitThe orientation is a portrait, where the height is greater than the width.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show: