Exemplo n.º 1
0
        public ActionResult Show(PlanPage page)
        {
            //get all plans
            page.Plans = _planService.GetallPlans();

            return(View(page));
        }
Exemplo n.º 2
0
        public App()
        {
            InitializeComponent();

            PlanPage planPage = new PlanPage();
            RootPage rootPage = new RootPage(planPage);

            MainPage = rootPage;
        }
Exemplo n.º 3
0
        public RootPage(PlanPage planPage)
        {
            InitializeComponent();
            MasterBehavior = MasterBehavior.Popover;

            MenuPage menuPage = new MenuPage();

            menuPage.ListView.ItemSelected += OnItemSelectedAsync;

            Master = menuPage;
            NavigationPage navigationPage = new NavigationPage(planPage);

            navigationPage.BarBackgroundColor = color;
            Detail = navigationPage;
        }