Some random thoughts in my mind. We can discuss them tomorrow.
Is it necessary for the developer to know which destination is showing in pane1 and pane2?
Is it a good idea to navigate one pane from the other pane? For example, click pane2 to navigate to D4 in pane1.
How can the developer track the destination paths, such as where the current destination comes from, how can the current pane go back to the previous destination?
In the new sample, pane1 UI seems broken in dual-landscape mode.
๐ Description
Adds the TwoPaneLayoutNav constructor and a new sample to showcase how it works
๐ค Motivation and Context
To provide developers with more flexibility and customization options when working with complicated navigation scenarios
๐งช How Has This Been Tested?
Created a sample, add new sample tests
โ๏ธ Does the PR contain new tests or refactored old ones?
New tests
๐ท Screenshots (if appropriate)
Updated sample appearance/behavior (new color scheme from Yuran ๐):
https://user-images.githubusercontent.com/33138268/166332237-14cb669c-a73d-4981-8d1a-5cc73b9aaa32.mp4
๐ฆ Types of changes
โ Checklist