GraphicsDeviceManager.PreferredBackBufferHeight Property (Microsoft.Xna.Framework)

Indicates the desired back buffer height in pixels.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.341)
  • C#
  • VB
  • F#
public int PreferredBackBufferHeight { get; set; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: System.Int32
When called at startup this will automatically set the height during initialization. If set after startup you must call ApplyChanges() for the height to be changed.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web