GameWindow Class (Microsoft.Xna.Framework)
- C#
- VB
- F#
public abstract class GameWindow
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The GameWindow type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
GameWindow |
Platforms | Name | Description | |
---|---|---|---|
AllowAltF4 | Gets or sets a bool that enables usage of Alt+F4 for window closing on desktop platforms. Value is true by default. | ||
AllowUserResizing | |||
ClientBounds | |||
CurrentOrientation | |||
Handle | |||
IsBorderless | Determines whether the border of the window is visible. Currently only supported on the WinDX and WinGL/Linux platforms. | ||
Position | The location of this window on the desktop, eg: global coordinate space which stretches across all screens. | ||
ScreenDeviceName | |||
Title | Gets or sets the title of the game window. |
Platforms | Name | Description | |
---|---|---|---|
ClientSizeChanged | |||
KeyDown | Buffered keyboard KeyDown event. | ||
KeyUp | Buffered keyboard KeyUp event. | ||
OrientationChanged | |||
ScreenDeviceNameChanged | |||
TextInput | Use this event to retrieve text for objects like textbox's. This event is not raised by noncharacter keys. This event also supports key repeat. For more information this event is based off: http://msdn.microsoft.com/en-AU/library/system.windows.forms.control.keypress.aspx |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web