GameWindow.BeginScreenDeviceChange Method
Starts a device transition (windowed to full screen or vice versa).
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
Syntax
public virtual abstract void BeginScreenDeviceChange (
bool willBeFullScreen
)
Parameters
- willBeFullScreen
Specifies whether the device will be in full-screen mode upon completion of the change.
Remarks
This method must be called before any device change occurs (that is, before resetting the graphics device). EndScreenDeviceChange should be called to complete the transition.
See Also
Reference
GameWindow Class
GameWindow Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista