简体   繁体   中英

How to navigate to a normal ContentPage in fullscreen from NavigationPage with TabbedPage?

There is a Xamarin official sample that demonstrates how to use TabbedPage with NavigationPage together. The result looks like this:

As you can see, when it navigates to a sub-page, the sub-page is "nested" in the TabbedPage. I want to know how can I make the sub-page in fullscreen, which means when it's on the sub-page, it takes up the whole screen and the TabbedPage doesn't show. Below is an example:

为此,您必须将选项卡式页面嵌入到导航页面中。

App.Current.MainPage = new NavigationPage(new YourTabbedPage());

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM