Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DisplayOrientation Enumeration

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

Community Additions

Show:
© 2015 Microsoft