我創(chuàng)建了這個(gè)運(yùn)行良好的菜單,但在某些打開的頁(yè)面上不使用菜單,它被替換為后退按鈕。無(wú)論如何要確保菜單在所有頁(yè)面上?主頁(yè).xaml<MasterDetailPage.Detail> <NavigationPage> <x:Arguments> <pages:HomePage /> </x:Arguments> </NavigationPage> </MasterDetailPage.Detail>主頁(yè).xaml.cs var masterDetailPage = Application.Current.MainPage as MasterDetailPage; masterDetailPage.Detail = new NavigationPage((new SearchPage("A")));
Xamarin.Forms - 從主頁(yè)查看缺少的菜單
料青山看我應(yīng)如是
2022-10-15 14:35:35