Hello,
Welcome to Microsoft Q&A!
Your issue is about dual screen, it's recommended to ask your question in GitHub-issues of WinUI.
Thanks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In my dual screen app, one of the events I attempt to use to detect when my app switches between single & dual screen is SizeChanged. In this event, I look at the following property:
ApplicationView.GetForCurrentView().ViewMode
However, when the user switches from dual screen to single screen, this still returns 2. I would have expected it to return to ApplicationViewMode.Default, since 2 (which is soon to be added as ApplicationViewMode.Spanning) is for dual screen. If I then click the Rotate button on the Emulator, it does return to ApplicationViewMode.Default. It seems like the value is only updated by the hardware (well, the Emulator, but what would be hardware for a real test), but not by the software (unspanning the app). Is this a bug? Is there a workaround? Am I doing something wrong? Thanks.
Hello,
Welcome to Microsoft Q&A!
Your issue is about dual screen, it's recommended to ask your question in GitHub-issues of WinUI.
Thanks.