GameWindow Members
The following tables list the members exposed by the GameWindow type.
Public Properties
Name | Description | |
---|---|---|
AllowUserResizing | Specifies whether to allow the user to resize the game window. | |
ClientBounds | The screen dimensions of the game window's client rectangle. | |
Handle | Gets the handle to the system window. | |
ScreenDeviceName | Gets the device name of the screen the window is currently in. | |
Title | Gets and sets the title of the system window. |
Public Methods
Name | Description | |
---|---|---|
BeginScreenDeviceChange | Starts a device transition (windowed to full screen or vice versa). | |
EndScreenDeviceChange | Overloaded. Completes a device transition. | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ReferenceEquals | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnActivated | Called when the GameWindow gets focus. | |
OnClientSizeChanged | Called when the size of the client window changes. Raises the ClientSizeChanged event. | |
OnDeactivated | Called when the GameWindow loses focus. | |
OnPaint | Called when the GameWindow needs to be painted. | |
OnScreenDeviceNameChanged | Called when the GameWindow is moved to a different screen. Raises the ScreenDeviceNameChanged event. | |
SetTitle | Sets the title of the GameWindow. |
Public Events
Name | Description | |
---|---|---|
ClientSizeChanged | Raised when the size of the GameWindow changes. | |
ScreenDeviceNameChanged | Raised when the GameWindow moves to a different display. |