Exemplo n.º 1
0
        public ShellPageViewModel(INavigationServiceBase navigationService)
        {
            this.navigationService = navigationService;
            NavigationCommand.Execute("Home");

            var rootFrame = (Window.Current.Content as Frame);

            if(rootFrame != null)
                rootFrame.Navigated += ShellPageViewModel_Navigated;
        }
Exemplo n.º 2
0
 public HomePageViewModel(INavigationServiceBase navigationService,
     IDataService<DataItem> dataService)
 {
     this.navigationService = navigationService;
     this.dataService = dataService;
 }