Windows apps
Collapse the table of content
Expand the table of content
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.

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)

public event EventHandler<EventArgs> OrientationChanged

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

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

Show:
© 2017 Microsoft