Export (0) Print
Expand All

PresentationParameters.DisplayOrientation Property

XNA Game Studio 4.0
Gets or sets the orientation of the display. The default value is DisplayOrientation.Default, which means orientation is determined automatically from your BackBufferWidth and BackBufferHeight.

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

public DisplayOrientation DisplayOrientation { get; set; }

Property Value

The orientation of the display.

Ff634531.note(en-us,XNAGameStudio.40).gifWindows Phone Specific Information
Orientation settings apply only to Windows Phone-based games.

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

Community Additions

ADD
Show:
© 2014 Microsoft