question

njsokalski avatar image
0 Votes"
njsokalski asked RoyLi-MSFT answered

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

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-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.