protected void CreateMenuPage(string menuPageTitle, CustomFreshMasterDetailNavigationContainer customFreshMasterDetailNavigationContainer) { MenuViewModel menu = CreateMenuList(customFreshMasterDetailNavigationContainer, out Dictionary pages); var listView = new SfListView(); listView.SelectionBackgroundColor = Color.FromHex("D0B700"); listView.BackgroundColor = Color.FromHex("304069"); listView.ItemsSource = new string[] { "Wizard", "Illustrations", "Profile", "Settings" }; listView.ItemTapped += async (sender, e) => { //TemplateMenu selectedMenuItem = (TemplateMenu) e.ItemData; Page modalPage = null; if (pages.ContainsKey(e.ItemData.ToString())) { Detail = pages[e.ItemData.ToString()]; } IsPresented = false; }; ContentPage menuPage = new ContentPage(); menuPage.Title = menuPageTitle; menuPage.Content = listView; Master = new NavigationPage(menuPage) { Title = "Menu"}; }