Replies: 1 comment 2 replies
-
What do you mean by “new window without losing UI state”? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've asked this question in another repo, but I wanted to get your take on it as well.
What is the correct approach to open a Page in a new Window without losing its UI state? I have tried different methods but I am uncertain if I am on the right track. One attempt was to use a new Frame to navigate to the Page and set this.NavigationCacheMode = NavigationCacheMode.Required, but it did not work as expected. Also, a navigation state is not required for this page.
I am having difficulty copying the content of the page and setting a new Frame's content to the content of the original page without encountering a "Value does not fall within the expected range" error. Do I need to implement a service to save the state of each UI element on the page and reapply it when the page loads again? Or is there a simpler way to accomplish this?
Beta Was this translation helpful? Give feedback.
All reactions