I am developing a game using Monogame and C #. I have a wpf application for a menu that starts in full screen. When I click on the game in the menu, I go to the Monogame project. How to run the Monogame solution in full screen, like in the wpf menu?
You can set the IsFullscreen property to true .
IsFullscreen
true
//you likely already have this line (or similar) graphics = new GraphicsDeviceManager(this); //set the GraphicsDeviceManager fullscreen property graphics.IsFullScreen = true;
This is the correct way with monogame
GraphicsDeviceManager graphics; graphics = new GraphicsDeviceManager(this); graphics.ToggleFullScreen();