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.

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)

public DisplayOrientation SupportedOrientations { get; set; }

Property Value

The supported display orientations.

Ff634565.note(en-us,XNAGameStudio.41).gifWindows 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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2015 Microsoft