Class DisplayMode
Describes the display mode.
public class DisplayMode
  - Inheritance
 - 
      objectDisplayMode
 
Constructors
DisplayMode(PixelFormat, int, int, Rational)
Initializes a new instance of the DisplayMode class.
public DisplayMode(PixelFormat format, int width, int height, Rational refreshRate)
  Parameters
formatPixelFormatThe format.
widthintThe width.
heightintThe height.
refreshRateRationalThe refresh rate.
Fields
Format
Gets a value indicating the surface format of the display mode.
public readonly PixelFormat Format
  Field Value
Height
Gets a value indicating the screen height, in pixels.
public readonly int Height
  Field Value
RefreshRate
Gets a value indicating the refresh rate
public readonly Rational RefreshRate
  Field Value
Width
Gets a value indicating the screen width, in pixels.
public readonly int Width
  Field Value
Properties
AspectRatio
Gets the aspect ratio used by the graphics device.
public float AspectRatio { get; }
  Property Value
Methods
ToString()
Retrieves a string representation of this object.
public override string ToString()