System metrics

Is there a way to get information such as desktop working area size or window title height in MonoGame without using the System.Windows.Forms.SystemInformation class?

ya Window ( bounds ect ) GraphicsDevice pretty much has all that info in it in, Viewport CurrentAdapter DisplayMode /s TileSafe areas and then some more.

When I say desktop working area, I mean the size of the desktop less the taskbar size. So, if I have a 3840x2160 desktop and a taskbar which height is 80 pixel, the working area height should be 2080 pixels (2160 - 80). All the stuff in GraphicsDevice doen’t have this info. Nor the title height of the game window.

1 Like