Example #1
0
 public App()
 {
     InitializeComponent();
     navigationPageEx = new NavigationPageEx(new MainPage());
     MainPage         = navigationPageEx;
     NavigationEx.MiddleTitleColor = Color.Black;
 }
Example #2
0
        protected override void Init()
        {
            var masterPage = new MasterPage();

            Master = masterPage;
            masterPage.ListView.ItemSelected += (sender, e) =>
            {
                var item = e.SelectedItem as MasterPageItem;
                if (item != null)
                {
                    Detail = new NavigationPageEx((Page)Activator.CreateInstance(item.TargetType));
                    masterPage.ListView.SelectedItem = null;
                    IsPresented = false;
                }
            };

            Detail = new NavigationPageEx(new _409555_Page1());
        }