1
votes

In a Windows Store App, is there a way to determine how many monitors are connected? In my old WPF forms application I was able to determine that by Screen.AllScreens

I am running Visual Studio 2013 on Windows 8.1. If someone has an answer on any Windows 8 platform, that will be great as well.

This is not for the store, but for executives where I work.

Thanks.

1
Windows store apps run always full screen. It is by design, that Windows store apps do not use more than one monitor, so it is useless to query for multiple monitors. So why do you want to query?Sascha
i have an app that needs to show multiple pages/popups on a secondary and 3rd monitor. Without knowing about the other monitors how can i display them on it.Matthew
I don't think you candougajmcdonald
so basically I need to create a wpf windows form application and then implement my own App Bar ControlMatthew
If you end up needing a modern UI look with a WPF application, I recommend you start here: mui.codeplex.comjschroedl

1 Answers

4
votes

You can project to two monitors with Windows 8.1! You can download a sample app from msdn.

You use the ProjectionManager. The ProjectionManager can tell you if another monitor is available through the ProjectionDisplayAvailable property. Here is a session from Build 2013. About 14:10 in, they show a sample.