GraphicsDeviceManager.SupportedOrientations Property
Gets or sets the display orientations that are available if automatic rotation and scaling is enabled.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public DisplayOrientation SupportedOrientations { get; set; }
Property Value
The supported display orientations.
Remarks
Windows Phone Specific Information |
---|
Orientation settings apply only to Windows Phone-based games. |
Call ApplyChanges to apply this change if you are setting this property outside of the game constructor.
See Also
Overview
Automatic Rotation and Scaling (Windows Phone)
Reference
GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace
DisplayOrientation Enumeration
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP