public App() { InitializeComponent(); navigationPageEx = new NavigationPageEx(new MainPage()); MainPage = navigationPageEx; NavigationEx.MiddleTitleColor = Color.Black; }
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()); }