Ejemplo n.º 1
0
        public PageThree()
        {
            this.InitializeComponent();
            Debug.WriteLine(string.Format("Creating: {0}", GetType().Name));
            NavigationCacheMode = NavigationCacheMode.Enabled;

            ViewModel = new PageThreeViewModel(NestedNavigationServiceProvider.GetNavigationServiceAndRegisterFrame(FrameTargets.SubFrame, this.SubFrame));
        }
Ejemplo n.º 2
0
 public MainPage()
 {
     this.InitializeComponent();
     ViewModel = new MainViewModel(NestedNavigationServiceProvider.GetNavigationServiceAndRegisterFrame(FrameTargets.RootFrame, RootFrame));
 }