Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TreeWatch.CustomTabbedPage"/> class.
        /// </summary>
        public CustomTabbedPage()
        {
            this.StyleId = "TabbedPageView";

            // map tab page
            var mapMasteDetailPage = new MapMasterDetailPage();
            Children.Add(mapMasteDetailPage);

            // note tab page
            Children.Add(new NoteContentPage());

            // todo tab page
            Children.Add(new ToDoContentPage());

            // history tab page
            Children.Add(new HistoryContentPage());

            // settings tab page
            Children.Add(new SettingsContentPage(mapMasteDetailPage.Detail));

            NavigationPage.SetHasNavigationBar(this, false);
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TreeWatch.CustomTabbedPage"/> class.
        /// </summary>
        public CustomTabbedPage()
        {
            this.StyleId = "TabbedPageView";

            // map tab page
            var mapMasteDetailPage = new MapMasterDetailPage();

            Children.Add(mapMasteDetailPage);

            // note tab page
            Children.Add(new NoteContentPage());

            // todo tab page
            Children.Add(new ToDoContentPage());

            // history tab page
            Children.Add(new HistoryContentPage());

            // settings tab page
            Children.Add(new SettingsContentPage(mapMasteDetailPage.Detail));

            NavigationPage.SetHasNavigationBar(this, false);
        }