ModernWpf
ModernWpf copied to clipboard
Support for NavigationCacheMode?
In the WinUI library, Pages have a property named NavigationCacheMode that allows reusing the same instance of a page across multiple navigations. I don't see that property in the Page
in this repo.
Are there any plans for a feature like that, or do you know of a workaround I could use to get the same behavior with the existing implementation?
Even KeepAlive=true Property does not work @Kinnara Can you investigate this more quickly?
Can we hope for some kind of update related to this?
Is there any other way to not initialize a new page, just load the one already initialized?
looks like there's no chance :/
I also miss this a lot for NavigationView page navigation. Has anyone figured out a workaround?
Changing the navigation method from
ContentFrame.Navigate(typeof(MyPage));
To have a variable with the instatiated page works for me.
if (_myPage == null)
_myPage = new MyPage();
ContentFrame.Navigate(_myPage);