WPF Page页面间在Frame中带参数跳转
编程开发
WPFPage页面Frame参数跳转
WPF Page页面间在Frame中(带参数)跳转
WPF Page页面间在Frame中(带参数)跳转 - Yuan天空
- 不传递参数的跳转
NavigationService.GetNavigationService(this).Navigate(new Uri("/Test.xaml", UriKind.Relative));
NavigationService.GetNavigationService(this).Navigate(new Test());
- 携带参数的跳转
NavigationService.GetNavigationService(this).Navigate(new PrintProcessing(new object()));
这种用发建议将page静态化处理,不然可能会出现页面内存释放问题