DisplayOrientation Enumeration

Defines the display orientation.

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

Syntax

[FlagsAttribute]
public enum DisplayOrientation

Members

  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.

See Also

Overview

Automatic Rotation and Scaling (Windows Phone)

Reference

Microsoft.Xna.Framework Namespace

Platforms

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