Sdílet prostřednictvím


GameWindow.BeginScreenDeviceChange Method

Starts a device transition (windowed to full screen or vice versa).

Syntax

'Declaration
Public MustOverride Sub BeginScreenDeviceChange ( _
         willBeFullScreen As Boolean _
)
public abstract void BeginScreenDeviceChange (
         bool willBeFullScreen
)
public:
void BeginScreenDeviceChange(
         bool willBeFullScreen
) abstract

Parameters

  • willBeFullScreen
    Type: Boolean
    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.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

GameWindow Class
GameWindow Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone