GameWindow.CurrentOrientation Property

XNA Game Studio 4.0
Gets the current display orientation, which reflects the physical orientation of the phone in the user's hand.

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

public abstract DisplayOrientation CurrentOrientation { get; }

Property Value

The current display orientation.

Ff634526.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: