I just had some fun with the WPF NavigationService. Let me explain.
I discovered in my windows app that all my previous pages are empty if I go back using the NavigationService.GoBack() command.
After googling around I found out that this is a wanted behaviour, as long as the page does not has the KeepAlive Property set to TRUE.
So for all who are also having fun with this small pitfall. Here’s the reference I found:
http://www.netframeworkdev.com/windows-presentation-foundation-wpf/navigationservicenavigate-vs-navigationservicegoback-76618.shtml
May the code be with you ![]()
- Gerhard
Advertisement