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

Sets the supported display orientations.

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

protected internal abstract void SetSupportedOrientations (
         DisplayOrientation orientations


Type: DisplayOrientation
A set of supported display orientations.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2017 Microsoft