DisplayMode.Width Property
Gets a value indicating the screen width, in pixels.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public int Width { get; }
Property Value
Screen width, in pixels.
See Also
Concepts
Displays, Client Bounds, Viewports, and Back Buffers
Reference
DisplayMode Structure
DisplayMode Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista