Bagikan melalui


Game.Window Property

Gets the underlying operating system window.

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

Syntax

public GameWindow Window { get; }

Property Value

The underlying operating system window.

See Also

Concepts

Displays, Client Bounds, Viewports, and Back Buffers

Tasks

How to: Allow the Player to Resize a Game Window

Reference

Game Class
Game Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista