Table of Contents

Class DisplayModeCollection

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

A collection that manipulates DisplayMode instances.

public class DisplayModeCollection : IEnumerable<DisplayMode>, IEnumerable
Inheritance
DisplayModeCollection
Implements
Inherited Members

Properties

this[SurfaceFormat]

Gets the DisplayMode instance with the specified format.

public IEnumerable<DisplayMode> this[SurfaceFormat format] { get; }

Parameters

format SurfaceFormat

Property Value

IEnumerable<DisplayMode>

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<DisplayMode> GetEnumerator()

Returns

IEnumerator<DisplayMode>

An enumerator that can be used to iterate through the collection.