[WinRT] Navigation not using RootFrame

Topics: UI Architecture
Oct 23, 2012 at 5:12 PM

Is it possible in Caliburn for WinRT to use the nagigation service but for a frame within the root frame.

For example in my ShellView i have a grid and withing that grid i have a frame control, is it possible to tell the caliburn Navigation service to use that frame instead of the root?

 

Oct 25, 2012 at 2:24 AM

The class FrameAdapter is the built in implementation of INavigationService in the WinRT version. You should be able to create an instance of that around your Frame control.  Just bear in mind that the FrameAdapter also handles functionality handling "view first" functionality in terms of locating of the view model for the view and binding them together.

Feb 27, 2015 at 1:07 PM
Hi, I am also trying to make this work, but I can seem to make it work. How do i tell the NavigationService of the "second" frame to navigate in? I can easily make it work without CM, but i want to use CM in my project. Have you managed to make this work, is yoe, would you share some code samples?