GameWindow.SetSupportedOrientations Method
Sets the supported display orientations.
Syntax
'Declaration
Protected Internal MustOverride Sub SetSupportedOrientations ( _
orientations As DisplayOrientation _
)
protected internal abstract void SetSupportedOrientations (
DisplayOrientation orientations
)
protected:
internal:
void SetSupportedOrientations(
DisplayOrientation orientations
) abstract
Parameters
- orientations
Type: DisplayOrientation
A set of supported display orientations.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Overview
Automatic Rotation and Scaling
Reference
GameWindow Class
GameWindow Members
Microsoft.Xna.Framework Namespace
Automatic Rotation and Scaling
Platforms
Windows Phone