How to start in full screen in Monogame?

Dino Sauro picture Dino Sauro · Mar 8, 2013 · Viewed 13.1k times · Source

I'm developing a game using Monogame and C#. I have a wpf application for the menu that starts in full screen. When I click on play on the menu, I go to the Monogame project. How can I start the Monogame solution in full screen like I do with the wpf menu?

Answer

keyboardP picture keyboardP · Mar 8, 2013

You can set the IsFullscreen property to true.

//you likely already have this line (or similar)
graphics = new GraphicsDeviceManager(this);

//set the GraphicsDeviceManager's fullscreen property
graphics.IsFullScreen = true;