GameWindow.OrientationChanged Event
Describes the event raised when the display orientation of the GameWindow changes. When this event occurs, the XNA Framework automatically adjusts the game orientation based on the value specified by the developer with SupportedOrientations.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public event EventHandler<EventArgs> OrientationChanged
Remarks
Windows Phone Specific Information |
---|
Orientation settings apply only to Windows Phone-based games. |
See Also
Overview
Automatic Rotation and Scaling (Windows Phone)
Reference
GameWindow Class
GameWindow Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7