Export (0) Print
Expand All

GraphicsDeviceManager.PreferredBackBufferWidth Property

Gets or sets the preferred back-buffer width.

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

public int PreferredBackBufferWidth { get; set; }

Property Value

The preferred back-buffer width.

Exception typeCondition
ArgumentOutOfRangeException BackBufferWidth is not greater than zero.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2015 Microsoft