Exemplo n.º 1
0
    private void edit()
    {
        var viewModel = new PersonItemViewModel(CurrentPerson);
        var view      = new View.PersonEditWindow();

        view.DataContext = viewModel;
        view.Show();
    }
 public ItemDetailPage()
 {
     InitializeComponent();
     BindingContext = new PersonItemViewModel();
 }
Exemplo n.º 3
0
        public ActionResult Index(Find.Cms.Models.Pages.PersonItemPage currentPage)
        {
            var model = new PersonItemViewModel(currentPage);

            return(View(model));
        }
        public ActionResult Index(PersonPage currentPage)
        {
            var model = new PersonItemViewModel(currentPage);

            return(View(model));
        }