Inheritance: TodoApp.Pages.Base.BaseContentPage
        public HomePage()
        {
            NavigationPage.SetHasNavigationBar(this, false);
            IsGestureEnabled = false;

            Master = new MenuPage();
            Master.Icon = "action_menu.png";

            var todayPage = new TodayPage ();
            Detail = new BaseNavigationPage(todayPage);

            IsPresentedChanged += (sender, e) => {
                if(IsPresented){
                    todayPage.FadeOut();
                } else {
                    todayPage.FadeIn();
                }
            };
        }
Exemplo n.º 2
0
        public HomePage()
        {
            NavigationPage.SetHasNavigationBar(this, false);
            IsGestureEnabled = false;

            Master      = new MenuPage();
            Master.Icon = "action_menu.png";

            var todayPage = new TodayPage();

            Detail = new BaseNavigationPage(todayPage);

            IsPresentedChanged += (sender, e) => {
                if (IsPresented)
                {
                    todayPage.FadeOut();
                }
                else
                {
                    todayPage.FadeIn();
                }
            };
        }