public MainPage() { this.InitializeComponent(); Model = new MainPageViewModel(); DependencyResolver.AddDependecy <INavigation>(this); Model.SelectPage = new DelegateCommand((p) => { NavigateTo((string)p); }, Model.MenuCommandCanExecute); }
public MainPage() { this.InitializeComponent(); Model = new MainPageViewModel(); DependencyResolver.AddDependecy <INavigation>(this); Model.SelectPage = new DelegateCommand((p) => { NavigateTo((string)p); }, Model.MenuCommandCanExecute); }