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

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