DisplayMode.Width Property
Gets a value indicating the screen width, in pixels.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
Syntax
public int Width { get; }
Property Value
Screen width, in pixels.
See Also
Reference
DisplayMode Class
DisplayMode Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP