Dual Screen Devices: Detecting Orientation, Status, And Position Changes

Nathan Sokalski 4,126 Reputation points
2020-06-08T19:06:44.54+00:00

I am working on an app (intended for dual screen devices) that uses the TwoPaneView. I need to know the following & detect when they change (regardless of whether the app is using both screens):

Device Orientation - Are the screens above & below each other or side by side?
Screen Spanning - Does the app span both screens?

I have tried using the ModeChanged event of TwoPaneView & the SizeChanged event of the Page, but neither (or at least one of them) seems to be triggered for all scenarios (I have been testing my app using the Microsoft Emulator). What can I do to detect when either of these value changes (and what the current value is)? Thanks.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,562 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
    2020-06-09T02:58:31.583+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Your issue about TwoPaneView is more related to WinUI. It's an open-source in Github, you could ask your question in GitHub-issues.

    Thank you.

    0 comments No comments