GameWindow.EndScreenDeviceChange Method (String, Int32, Int32)
Completes a device transition.
Syntax
'Declaration
Public MustOverride Sub EndScreenDeviceChange ( _
screenDeviceName As String, _
clientWidth As Integer, _
clientHeight As Integer _
)
public abstract void EndScreenDeviceChange (
string screenDeviceName,
int clientWidth,
int clientHeight
)
public:
void EndScreenDeviceChange(
String screenDeviceName,
int clientWidth,
int clientHeight
) abstract
Parameters
- screenDeviceName
Type: String
The desktop screen to move the window to. This should be the screen device name of the graphics device that has transitioned to full screen. - clientWidth
Type: Int32
The new width of the game's client window. - clientHeight
Type: Int32
The new height of the game's client window.
Remarks
This method must be called after any device change (that is, after resetting the graphics device).
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
BeginScreenDeviceChange
GameWindow Class
GameWindow Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone