Ejemplo n.º 1
0
        public MainPage()
        {
            this.InitializeComponent();

            Model = new MainPageViewModel();

            DependencyResolver.AddDependecy <INavigation>(this);

            Model.SelectPage = new DelegateCommand((p) =>
            {
                NavigateTo((string)p);
            },
                                                   Model.MenuCommandCanExecute);
        }